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

ovr_Challenges_Create Function

DeprecatedUse 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 * A string represents the name of the leaderboard.
challengeOptions: ovrChallengeOptionsHandle This indicates the options of the challenge and it can be retrieved by ovr_ChallengeOptions_Create().

Returns