mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:51:20 +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) {
|
void OculusAPIPlugin::requestNonceAndUserID(NonceUserIDCallback callback) {
|
||||||
|
#ifdef OCULUS_APP_ID
|
||||||
_nonceUserIDCallback = callback;
|
_nonceUserIDCallback = callback;
|
||||||
ovr_User_GetUserProof();
|
ovr_User_GetUserProof();
|
||||||
ovr_User_GetLoggedInUser();
|
ovr_User_GetLoggedInUser();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void OculusAPIPlugin::handleOVREvents() {
|
void OculusAPIPlugin::handleOVREvents() {
|
||||||
|
|
Loading…
Reference in a new issue