gpgs.leaderboards.load()

Type String
Return value none
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs
See also gpgs.leaderboards.*
gpgs.*

Overview

Retrieves information on all leaderboards available in the game.

Syntax

gpgs.leaderboards.load(params)
params (required)

Table. Contains parameters — see the next section for details.

Parameter Reference

leaderboardId (optional)

String. If provided loads information only about this leaderboard.

reload (optional)

Boolean. If true, the data will be pulled fresh, not from a cache.

listener (optional)

Listener. Receives load event.