Provides interface to read data from a leaderboard stored on game server.
More...
|
|
string | Id [get] |
| | An unique string used to identify the leaderboard across all the supported platforms. (read-only)
|
| |
|
string | PlatformId [get] |
| | An unique used to identify the leaderboard in the current platform. (read-only)
|
| |
|
string | Title [get] |
| | A localized title for the leaderboard. (read-only)
|
| |
|
LeaderboardPlayerScope | PlayerScope [get, set] |
| | A filter used to restrict the search to a subset of the players on game server.
|
| |
|
LeaderboardTimeScope | TimeScope [get, set] |
| | A filter used to restrict the search to scores that were posted within a specific period of time.
|
| |
|
int | LoadScoresQuerySize [get, set] |
| | The value indicates maximum entries that has to be fetched from search.
|
| |
| ILeaderboardScore | LocalPlayerScore [get] |
| | Returns the IScore earned by the local player. (read-only)
|
| |
◆ ReportScore()
| void ReportScore |
( |
long | score, |
|
|
CompletionCallback | callback, |
|
|
string | tag = null ) |
- Parameters
-
| score | The score value. |
| callback | Callback method that will be invoked after operation is completed. |
| tag | The tag used to identify the score (optional). This needs to be of max length 8 characters in ascii characters. |
Referenced by GameServices.ReportScore().
◆ LoadTopScores()
- Parameters
-
| callback | Callback method that will be invoked after operation is completed. |
◆ LoadPlayerCenteredScores()
- Parameters
-
| callback | Callback method that will be invoked after operation is completed. |
◆ LoadNext()
- Parameters
-
| callback | Callback method that will be invoked after operation is completed. |
◆ LoadPrevious()
- Parameters
-
| callback | Callback method that will be invoked after operation is completed. |
◆ LoadImage()
| void LoadImage |
( |
EventCallback< TextureData > | callback | ) |
|
- Parameters
-
| callback | Callback method that will be invoked after operation is completed. |
◆ LocalPlayerScore
- Note
- This property is invalid until a call to load scores is completed.