Skip to content

Class: Leaderboard Entry

Represents a single entry in a leaderboard.

Table of contents

Accessors

Accessors

details

get details(): string

Optional details about this entry.

Returns

string


formattedScore

get formattedScore(): string

Score of this entry with optional formatting. Ex: '100 points'

Returns

string


player

get player(): default

Player that made this entry.

Returns

default


rank

get rank(): number

Rank of this entry in the leaderboard.

Returns

number


score

get score(): number

Score achieved in this entry.

Returns

number


timestamp

get timestamp(): number

Timestamp of when this entry was made.

Returns

number