Difference between revisions of "Gaming:incrementAchievement"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.09<br/> | '''Available since:''' Gideros 2012.09<br/> | ||
=== Description === | === Description === | ||
− | Increment achievement progress Either. | + | <translate>Increment achievement progress Either. [[[Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEMENTS_ERROR]]] will be triggered.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Gaming:incrementAchievement(achievementId,numSteps,immediate) | Gaming:incrementAchievement(achievementId,numSteps,immediate) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''achievementId''': (string) Achievement Id <br/> | + | '''achievementId''': (string) <translate>Achievement Id</translate> <br/> |
− | '''numSteps''': (number) Number of steps to add '''optional'''<br/> | + | '''numSteps''': (number) <translate>Number of steps to add</translate> '''optional'''<br/> |
− | '''immediate''': (boolean) Push the update immediately <br/> | + | '''immediate''': (boolean) <translate>Push the update immediately</translate> <br/> |
Revision as of 13:38, 23 August 2018
Available since: Gideros 2012.09
Description
Increment achievement progress Either. [[[Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEMENTS_ERROR]]] will be triggered.
Gaming:incrementAchievement(achievementId,numSteps,immediate)
Parameters
achievementId: (string) Achievement Id
numSteps: (number) Number of steps to add optional
immediate: (boolean) Push the update immediately