API reference

OVR_Leaderboard.h File

Typedefs

struct ovrLeaderboard * ovrLeaderboardHandle
Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about leaderboard on our website.

Functions

const char * ovr_Leaderboard_GetApiName
( const ovrLeaderboardHandle obj )
The API name of this leaderboard. This is a unique string that your application will refer to this leaderboard in your app code.
ovrDestinationHandle ovr_Leaderboard_GetDestination
( const ovrLeaderboardHandle obj )
An optional deep link ovrDestinationHandle, which means when a user clicks on the leaderboard, they will be taken to this in-app destination. This method may return null. This indicates that the value is not present or that the curent app or user is not permitted to access it.
ovrID ovr_Leaderboard_GetID
( const ovrLeaderboardHandle obj )
The generated GUID of this leaderboard.