Difference between revisions of "Gaming:loadPlayerCenteredScores"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2012.09<br/> | '''<translate>Available since</translate>:''' Gideros 2012.09<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/> |
Revision as of 09:57, 3 September 2018
Available since: Gideros 2012.09
Class: Gaming
Description
Fetch player leaderboard entries. Either Event.PLAYER_SCORE_COMPLETE or Event.PLAYER_SCORE_ERROR will be triggered.
Gaming:loadPlayerCenteredScores(leaderboardId,timeSpan,collection,maxEntries)
Parameters
leaderboardId: (string) Leaderboard Id
timeSpan: (number) Time range: Gaming.TODAY, Gaming.WEEK or Gaming.ALL_TIME optional
collection: (number) Player range: Gaming.FRIENDS or Gaming.ALL_PLAYERS optional
maxEntries: (number) Maximum number of entries to return optional