GKLeaderboardEntry

Inherits: RefCounted < Object

Single score information on the leaderboard.

Properties

int

context

0

float

date

0.0

String

formatted_score

""

GKPlayer

player

null

int

rank

0

int

score

0


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 player = null 🔗

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.