SC_LocalAchievementsController_ResetValueForAwardIdentifier()

This method resets the value of the award to its initial starting value.

Synopsis:

#include <scoreloop/sc_local_achievements_controller.h>
 
SC_Error_t SC_LocalAchievementsController_ResetValueForAwardIdentifier(SC_LocalAchievementsController_h self, const char *awardIdentifier, SC_Bool_t *pGetAchieved)

Arguments:

self

SC_LocalAchievementsController instance handle

awardIdentifier

The unique reverse DNS string chosen by the developer and used by Scoreloop to identify the award.

pGetAchieved

Returns SC_TRUE if the value has been reset, otherwise SC_FALSE.

Library:

libscoreloopcore

Description:

Method to reset the value of the award to the initial value. Note that in cases where the award has already been achieved, it cannot be reset.

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