Difference between revisions of "Gaming:reportScore"

From GiderosMobile
Line 12: Line 12:
 
'''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/>
 +
 +
{{Gaming}}

Revision as of 13:23, 6 December 2019


Available since: Gideros 2012.09
Class: Gaming

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