Difference between revisions of "Gaming:incrementAchievement"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/>

Revision as of 09:57, 3 September 2018


Available since: Gideros 2012.09
Class: Gaming

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