API reference

OVR_ChallengeEntry.h File

Typedefs

struct ovrChallengeEntry * ovrChallengeEntryHandle

Functions

const char * ovr_ChallengeEntry_GetDisplayScore
( const ovrChallengeEntryHandle obj )
A displayable score for this challenge entry. The score is formatted with thousands separators and the relevant units are appended based on the associated leaderboard's score type.
const char * ovr_ChallengeEntry_GetExtraData
( const ovrChallengeEntryHandle obj )
A 2KB custom data field that is associated with the challenge entry.
ovrID ovr_ChallengeEntry_GetID
( const ovrChallengeEntryHandle obj )
The ID of this challenge entry which can be used by ovr_Challenges_GetEntriesByIds() and ovr_Challenges_GetEntries().
int ovr_ChallengeEntry_GetRank
( const ovrChallengeEntryHandle obj )
Challenges can be ranked by highest or lowest scores within a time period. This indicates the position of this challenge entry.
long long ovr_ChallengeEntry_GetScore
( const ovrChallengeEntryHandle obj )
The raw underlying value of the challenge entry score.
unsigned long long ovr_ChallengeEntry_GetTimestamp
( const ovrChallengeEntryHandle obj )
The timestamp of the creation of this entry in the challenge.
ovrUserHandle ovr_ChallengeEntry_GetUser
( const ovrChallengeEntryHandle obj )
The user corresponding to this entry within the challenge.
unsigned int ovr_ChallengeEntry_GetExtraDataLength
( const ovrChallengeEntryHandle obj )