GKLeaderboardEntryยถ

Inherits: RefCounted < Object

Single score information on the leaderboard.

Propertiesยถ

int

context

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.


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.