mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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