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

ovr_Challenges_GetEntriesAfterRank Function

Returns a list of entries for a specific challenge, starting from a specified rank. By providing the challengeID and rank, you can specify which challenge's entries you want to retrieve and where to start the query. The limit parameter allows you to control the number of entries returned. ovrMessage_Challenges_GetEntriesAfterRank 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 ovrChallengeEntryArrayHandle. Extract the payload from the message handle with ovr_Message_GetChallengeEntryArray().

Signature

ovrRequest ovr_Challenges_GetEntriesAfterRank(ovrID challengeID, int limit, unsigned long long afterRank)

Parameters

challengeID: ovrID The id of the challenge whose entries to return, which can be retrieved by calling ovr_Challenge_GetID().
limit: int Sets a limit on the maximum number of challenges to be fetched, which can be useful for pagination or performance reasons.
afterRank: unsigned long long The position after which to start. For example, 10 returns challenge results starting with the 11th user.

Returns