SC_LocalAchievementsController_IncrementValueForAwardIdentifier()
This method increments the value of the specified award by one.
Synopsis:
#include <scoreloop/sc_local_achievements_controller.h>
SC_Error_t SC_LocalAchievementsController_IncrementValueForAwardIdentifier(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, after incrementing the value, the award is achieved, otherwise SC_FALSE.
Library:
libscoreloopcoreDescription:
This method increments the value of the specified award by one. If the incremented value reaches the achieving value for the award, the user will achieve the award.
Returns:
SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).