SC_Score_SetLevel()

Sets the level of the score.

Synopsis:

#include <scoreloop/sc_score.h>
 
SC_Error_t SC_Score_SetLevel(SC_Score_h self, unsigned int level)

Arguments:

self

An opaque handle for the current score instance.

level

A unsigned int corresponding to the game level.

Library:

libscoreloopcore

Description:

This method sets the level that the current score was achieved at. The level represents the game stage that the score was achieved at and may optionally be used for score comparison purposes.

Returns:

SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-21

comments powered by Disqus