achievement
Stringsuccess_callback
Function()error_callback
Function(err)
The achievement
represents the unlocked achievement in your game.
Shows the user a pop-up notification with the current progress of an achievement. Calling this function will NOT set the progress or unlock the achievement, use SetStat.
achievement
String: API name of the achievement.current
Number: The current progress.max
Number: The progress required to unlock the achievement.
Returns true
upon success, otherwise false
.
achievement
String: The achievement name in you gamesuccess_callback
Function(is_achieved)is_achieved
Boolean: Whether the achievement is achieved.
error_callback
Function(err)
Gets whether the achievement
is achieved.
achievement
String - The achievement needs to be clearedsuccess_callback
Function()error_callback
Function(err)
Returns an Array
represents all the achievements in the game.
Returns an Integer
represents the number of all achievements in the game.