API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_Challenges_Create Function

DEPRECATED. Use server-to-server API call instead.
A message with type ovrMessage_Challenges_Create will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrChallengeHandle. Extract the payload from the message handle with ovr_Message_GetChallenge().

Signature

ovrRequest ovr_Challenges_Create(const char *leaderboardName, ovrChallengeOptionsHandle challengeOptions)

Parameters

leaderboardName: const char *
challengeOptions: ovrChallengeOptionsHandle

Returns