GKLeaderboardEntry¶
Inherits: RefCounted < Object
Single score information on the leaderboard.
Properties¶
int |
|
|
float |
|
|
String |
|
|
|
||
int |
|
|
int |
|
Property Descriptions¶
int context = 0 🔗
int get_context()
An integer value that your game uses.
float date = 0.0 🔗
float get_date()
Unix timestamp (seconds) when this score was recorded.
String formatted_score = "" 🔗
String get_formatted_score()
The player’s score as a localized string.
GKPlayer get_player()
The player who earns the score.
int rank = 0 🔗
int get_rank()
The position of the score in the results of a leaderboard search.
int score = 0 🔗
int get_score()
The score that the player earns.