SC_ScoresController_LoadScores()

Starts loading the given range of scores.

Synopsis:

#include <scoreloop/sc_scores_controller.h>
 
SC_Error_t SC_ScoresController_LoadScores(SC_ScoresController_h self, SC_Range_t range)

Arguments:

self

An opaque handle for the current controller instance.

range

The starting position and offset of the requested scores range (numbered from 0, the first score to load).

Library:

libscoreloopcore

Description:

This method requests the list of scores, defined by the supplied range, from the server.

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