Gaming:loadScores

From GiderosMobile
Revision as of 10:02, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Fetch leaderboard entries. Either `Event.LOAD_SCORES_COMPLETE` or `Event.LOAD_SCORES_ERROR` will be t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.09

Description

Fetch leaderboard entries. Either `Event.LOAD_SCORES_COMPLETE` or `Event.LOAD_SCORES_ERROR` will be triggered.

= Gaming:loadScores(leaderboardIdtimeSpancollectionmaxEntries,)

'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