loadLeaderboard

fun loadLeaderboard(leaderboardId: String, forceReload: Boolean)

Call this method and subscribe to the emitted signal to receive the specific leaderboard in JSON format. The JSON received from the com.jacobibanez.plugin.android.godotplaygameservices.signals.LeaderboardSignals.leaderboardLoaded signal, contains a representation of the com.google.android.gms.games.leaderboard.Leaderboard class.

Parameters

leaderboardId

The leaderboard id.

forceReload

If true, this call will clear any locally cached data and attempt to fetch the latest data from the server.