Difference between revisions of "Gaming:revealAchievement"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Reveal a hidden achievement</translate>
 
<translate>Reveal a hidden achievement</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Gaming:revealAchievement(achievementId,immediate)
 
  Gaming:revealAchievement(achievementId,immediate)
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023


Available since: Gideros 2012.09
Class: Gaming

Description

Reveal a hidden achievement <syntaxhighlight lang="lua">

Gaming:revealAchievement(achievementId,immediate)

</source>

Parameters

achievementId: (string) Achievement Id
immediate: (boolean) Push the update immediately