AI-generated Key Takeaways
-
The
Leaderboards.LoadPlayerScoreResultinterface is deprecated. -
LeaderboardScoreis now returned directly in theLeaderboardsClient. -
This interface represents the result of loading a player's leaderboard score.
-
Possible status codes indicate the outcome of the load operation.
-
The
getScore()method returns the requested leaderboard score, which may be null.
This interface is deprecated.
LeaderboardScore
is returned directly in the LeaderboardsClient.
Result delivered when a player's leaderboard score 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_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to access this data.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILEDif the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract LeaderboardScore |
getScore()
Returns the leaderboard score that was requested.
|
Inherited Method Summary
Public Methods
public abstract LeaderboardScore getScore ()
Returns the leaderboard score that was requested. This item may be null if no score was found.