Difference between revisions of "Gaming:reportScore"

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

Revision as of 07:28, 24 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