GKLeaderboardScore

Inherits: RefCounted < Object

Represents a leaderboard score entry.

Description

Wraps GKLeaderboardScore, including score value, context, leaderboard identifier, and player.

Properties

int

context

0

String

leaderboard_id

""

GKPlayer

player

null

int

value

0


Property Descriptions

int context = 0 🔗

  • void set_context(value: int)

  • int get_context()

Developer-defined context value for this score.


String leaderboard_id = "" 🔗

  • void set_leaderboard_id(value: String)

  • String get_leaderboard_id()

Leaderboard identifier associated with this score.


GKPlayer player = null 🔗

Player associated with this score.


int value = 0 🔗

  • void set_value(value: int)

  • int get_value()

Raw score value.