AI-generated Key Takeaways
-
The
Stats.LoadPlayerStatsResultinterface is deprecated. -
Player stats are now returned directly in the
PlayerStatsClient. -
This interface delivers the result when player stats data has been loaded.
-
Possible status codes indicate the success or failure of loading player stats data.
-
The
getPlayerStats()method retrieves the player stats.
This interface is deprecated.
PlayerStats
is returned directly in the PlayerStatsClient.
Result delivered when player stats data has been loaded.
Possible status codes include:
GamesStatusCodes.STATUS_OKif data was successfully loaded and is up-to-date.GamesStatusCodes.STATUS_NETWORK_ERROR_NO_DATAif the device was unable to retrieve any data from the network and has no data cached locally.GamesStatusCodes.STATUS_NETWORK_ERROR_STALE_DATAif the device was unable to retrieve the latest data from the network, but has some data cached locally.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract PlayerStats |
getPlayerStats()
Retrieves the player stats.
|
Inherited Method Summary
Public Methods
public abstract PlayerStats getPlayerStats ()
Retrieves the player stats.
Returns
- An instance of PlayerStat.