Gaming:reportScore: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 6: Line 6:
  Gaming:reportScore(leaderboardId,score,immediate)
  Gaming:reportScore(leaderboardId,score,immediate)
</source>
</source>
'''leaderboardId''': (string) Leaderboard Id ''''''<br/>
=== Parameters ===
'''score''': (number) Score ''''''<br/>
'''leaderboardId''': (string) Leaderboard Id <br/>
'''immediate''': (boolean) Push the update immediately ''''''<br/>
'''score''': (number) Score <br/>
'''immediate''': (boolean) Push the update immediately <br/>

Revision as of 09:45, 23 August 2018

Available since: Gideros 2012.09

Description

Upload a score to a leaderboard.

 Gaming:reportScore(leaderboardId,score,immediate)

Parameters

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