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

ovr_Leaderboard_Get Function

Retrieves detailed information for a single leaderboard with a specified name, returning an array of ovrLeaderboardHandle. ovrMessage_Leaderboard_Get 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 ovrLeaderboardArrayHandle. Extract the payload from the message handle with ovr_Message_GetLeaderboardArray().

Signature

ovrRequest ovr_Leaderboard_Get(const char *leaderboardName)

Parameters

leaderboardName: const char * The name of the leaderboard to retrieve.

Returns