SC_ScoresController_LoadScoresAroundScore()

Requests the list of scores that includes the given score in the middle.

Synopsis:

#include <scoreloop/sc_scores_controller.h>
 
SC_Error_t SC_ScoresController_LoadScoresAroundScore(SC_ScoresController_h self, SC_Score_h score, unsigned int rangeLength)

Arguments:

self

An opaque handle for the current controller instance.

score

The score object that appears in the middle of the retrieved list.

rangeLength

The length of the range requested.

Library:

libscoreloopcore

Description:

This method returns the list of scores that includes the given score in the middle. The score is included even if it did not make it into the high score list.

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).

Last modified: 2013-12-23

comments powered by Disqus