Skip to content

Interface: LeaderboardRecord

leaderboards.LeaderboardRecord

A single leaderboard entry.

Properties

playerId

playerId: string

The player ID that submitted this score.

Defined in

leaderboards.ts:76


profileData

Optional profileData: unknown

The custom profile data of this player.

See setProfileData for setting the local player's profile data.

Defined in

leaderboards.ts:83


rank

rank: number

The rank of this record in the leaderboard.

Defined in

leaderboards.ts:67


recordData

Optional recordData: unknown

Additional custom data attached to this record.

Defined in

leaderboards.ts:73


score

score: number

The score of this record.

Defined in

leaderboards.ts:70