Type String Return value none Revision Release 2024.3703 Keywords Google Play Games Services, game network, gpgs See also gpgs.leaderboards.* gpgs.*
Retrieves scores from a specified leaderboard.
gpgs.leaderboards.loadScores(params)
Table. Contains parameters — see the next section for details.
String. Leaderboard id from which to load scores.
String. Can be one of these: "single"
- current player score, "top"
- top scores, "centered"
- scores around current player score. Default is "top"
.
Boolean. If true - load only scores for the current player's friends.
Integer. How many scores to load, max and default is 25.
String. Can be one of these: "all time"
, "weekly"
- scores are reset each week, "daily"
- scores are reset daily. Default is "all time"
.
Boolean. If true
, the data will be pulled fresh, not from a cache.