players.loadStats()

Type Function
Return value none
Revision Release 2022.3683
Keywords Google Play Games Services, game network, gpgs, players, loadStats
See also gpgs.players
gpgs.*

Overview

Requests the player stats data for the current player and game.

Syntax

gpgs.players.loadStats( params )
params (required)

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

Parameter Reference

The params table contains parameters for the call.

reload (optional)

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

listener (optional)

Listener. Listener function which receives a loadStats event.