mergGKLoadScores

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergGKLoadScores <pCategory>, [<pTimeScope>], [<pPlayerScope>], [<pFrom>], [<pTo>], [<pPlayerIDs>]
Associationsmerggk
Summary

Get a leaderboard of scores

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pCategory

The leaderboard ID for the leaderboard.

pTimeScope

(optional with "all time" default) The time scope of the request. One of: - today - week - all time

pPlayerScope

(optional with "global" default) The player scope of the request. One of: - today - week - all time

pFrom

(optional with 1 default) The first score in the range to return.

pTo

(optional with 10 default) The last score in the range to return.

pPlayerIDs

(optional with "" default) A return separated list of player id's if you would like the scores reported on only those players.

Description

Use this command to create a custom leaderboard within your app rather than use the Game Center modal. You could for example, use the list of player IDs from mergGKFriends to create a friends only list.

Tagsexternals