Difference between revisions of "Gaming:reportScore"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Upload a score to a leaderboard. <source lang="lua"> = Gaming:reportScore(leaderboardIdscoreimmediate...")
 
Line 4: Line 4:
 
Upload a score to a leaderboard.
 
Upload a score to a leaderboard.
 
<source lang="lua">
 
<source lang="lua">
= Gaming:reportScore(leaderboardIdscoreimmediate,)
+
Gaming:reportScore(leaderboardId,score,immediate)
 
</source>
 
</source>
'''leaderboardId:''' (string) Leaderboard Id ''''''<br/>
+
'''leaderboardId''': (string) Leaderboard Id ''''''<br/>
'''score:''' (number) Score ''''''<br/>
+
'''score''': (number) Score ''''''<br/>
'''immediate:''' (boolean) Push the update immediately ''''''<br/>
+
'''immediate''': (boolean) Push the update immediately ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2012.09

Description

Upload a score to a leaderboard.

 Gaming:reportScore(leaderboardId,score,immediate)

'leaderboardId: (string) Leaderboard Id '
'score: (number) Score '
'immediate: (boolean) Push the update immediately '