Difference between revisions of "Gaming:reportScore"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.09<br/> | '''Available since:''' Gideros 2012.09<br/> | ||
=== Description === | === Description === | ||
− | Upload a score to a leaderboard. | + | <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 === | === Parameters === | ||
− | '''leaderboardId''': (string) Leaderboard Id <br/> | + | '''leaderboardId''': (string) <translate>Leaderboard Id</translate> <br/> |
− | '''score''': (number) Score <br/> | + | '''score''': (number) <translate>Score</translate> <br/> |
− | '''immediate''': (boolean) Push the update immediately <br/> | + | '''immediate''': (boolean) <translate>Push the update immediately</translate> <br/> |
Revision as of 13:34, 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