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

ovr_Leaderboard_GetEntriesAfterRank Function

Requests a block of leaderboard entries. ovrMessage_Leaderboard_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 ovrLeaderboardEntryArrayHandle. Extract the payload from the message handle with ovr_Message_GetLeaderboardEntryArray().

Signature

ovrRequest ovr_Leaderboard_GetEntriesAfterRank(const char *leaderboardName, int limit, unsigned long long afterRank)

Parameters

leaderboardName: const char * The name of the leaderboard.
limit: int The maximum number of entries to return.
afterRank: unsigned long long The position after which to start. For example, 10 returns leaderboard results starting with the 11th user.

Returns