SC_ScoresController_LoadScoresAtRank()
Starts loading the range of scores beginning at a given rank.
Synopsis:
#include <scoreloop/sc_scores_controller.h>
SC_Error_t SC_ScoresController_LoadScoresAtRank(SC_ScoresController_h self, unsigned int rank, unsigned int rangeLength)
Arguments:
- self
-
An opaque handle for the current controller instance.
- rank
-
The starting position of the range (numbered from 1, the first score to load).
- rangeLength
-
The length of the range requested.
Library:
libscoreloopcoreDescription:
Requests the list beginning at the given rank. The rank refers to a score's position on the global leaderboard. All lists start at 1, therefore the minimum rank possible is 1.
Note that this is an asynchronous call and a callback will be triggered, after which you can access the retrieved scores by calling SC_ScoresController_GetScores().
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).