Skip to main content

Class: SeasonRankedPlayer

Represents the Player of seasonal legend league leader-board ranking.

Constructors

constructor

new SeasonRankedPlayer(client, data)

Parameters

NameType
clientClient
dataOmit<APIPlayerRanking, "league">

Defined in

struct/Ranking.ts:35

Properties

name

name: string

The player's name.

Defined in

struct/Ranking.ts:12


tag

tag: string

The player's tag.

Defined in

struct/Ranking.ts:15


expLevel

expLevel: number

The player's experience level.

Defined in

struct/Ranking.ts:18


trophies

trophies: number

The player's trophy count.

Defined in

struct/Ranking.ts:21


attackWins

attackWins: number

The player's attack wins.

Defined in

struct/Ranking.ts:24


defenseWins

defenseWins: number

The player's defense wins.

Defined in

struct/Ranking.ts:27


rank

rank: number

The player's rank in the clan leader-board.

Defined in

struct/Ranking.ts:30


clan

clan: null | PlayerClan

The player's clan.

Defined in

struct/Ranking.ts:33

Accessors

get shareLink(): string

Get player's formatted link to open player in-game.

Returns

string

Defined in

struct/Ranking.ts:48