mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 21:33:00 +02:00
wrapping request nonce and userID with conditional
This commit is contained in:
parent
238f020392
commit
4d61a65bbf
1 changed files with 2 additions and 0 deletions
|
@ -29,9 +29,11 @@ bool OculusAPIPlugin::isRunning() {
|
|||
}
|
||||
|
||||
void OculusAPIPlugin::requestNonceAndUserID(NonceUserIDCallback callback) {
|
||||
#ifdef OCULUS_APP_ID
|
||||
_nonceUserIDCallback = callback;
|
||||
ovr_User_GetUserProof();
|
||||
ovr_User_GetLoggedInUser();
|
||||
#endif
|
||||
}
|
||||
|
||||
void OculusAPIPlugin::handleOVREvents() {
|
||||
|
|
Loading…
Reference in a new issue