SC_ScoresController_SetMode()
Set the game mode used for subsequent requests.
Synopsis:
#include <scoreloop/sc_scores_controller.h>
SC_Error_t SC_ScoresController_SetMode(SC_ScoresController_h self, unsigned int mode)
Arguments:
- self
-
An opaque handle for the current controller instance.
- mode
-
The mode to be set for the controller.
Library:
libscoreloopcoreDescription:
This method sets the mode for the controller. The controller will only retrieve scores whose modes match this value. If no mode is explicitly set for the controller, it will retrieve the scores for mode 0.
Returns:
SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error. For more error codes see here).