SC_Score_SetResult()

Set the result of the score.

Synopsis:

#include <scoreloop/sc_score.h>
 
SC_Error_t SC_Score_SetResult(SC_Score_h self, double result)

Arguments:

self

An opaque handle for the current score instance.

result

The score result that is being set.

Library:

libscoreloopcore

Description:

This method sets the result property for the score. The result is generally the main numerical result achieved by a user in the game.

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