Gaming:reportAchievement

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2012.09
Class: Gaming

Description

Update achievement progress. Either Event.REPORT_ACHIEVEMENTS_COMPLETE or Event.REPORT_ACHIEVEMENTS_ERROR will be triggered.

 Gaming:reportAchievement(achievementId,numSteps,immediate)

Parameters

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