Gaming:incrementAchievement

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2012.09
Class: Gaming

Description

Increment achievement progress Either. Event.REPORT_ACHIEVEMENTS_COMPLETE or Event.REPORT_ACHIEVEMENTS_ERROR will be triggered. <syntaxhighlight lang="lua">

Gaming:incrementAchievement(achievementId,numSteps,immediate)

</source>

Parameters

achievementId: (string) Achievement Id
numSteps: (number) Number of steps to add optional
immediate: (boolean) Push the update immediately