SC_Score_SetLevel()

Sets the level of the score.

Synopsis:

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

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current score instance.

level

A unsigned int corresponding to the game level.

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

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: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus