Type Function Return value none Revision Release 2022.3683 Keywords Google Play Games Services, game network, gpgs, leaderboards, show See also gpgs.leaderboards gpgs.*
Shows a specific leaderboard, or all leaderboards.
gpgs.leaderboards.show( params )
Table. Contains parameters for the call — see the next section for details.
The params
table contains parameters for the call.
String. If provided, shows only this leaderboard. If omitted, all leaderboards will be shown.
Boolean. Supported only on Android; if true
, shows only the scores for the current player's friends.
String. One of the following values:
"all time"
— shows all scores (default)."weekly"
— shows scores from the week."daily"
— shows scores from the day.