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

ovr_Challenges_GetEntries Function

Requests a block of challenge entries. ovrMessage_Challenges_GetEntries 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_GetEntries(ovrID challengeID, int limit, ovrLeaderboardFilterType filter, ovrLeaderboardStartAt startAt)

Parameters

challengeID: ovrID The id of the challenge whose entries to return.
limit: int Defines the maximum number of entries to return.
filter: ovrLeaderboardFilterType By using ovrLeaderboard_FilterFriends, this allows you to filter the returned values to bidirectional followers.
startAt: ovrLeaderboardStartAt Defines whether to center the query on the user or start at the top of the challenge.

Returns