Tournament class
A representation of a clash tournament.
Signature:
export declare class Tournament
Constructor
new Tournament (data: TournamentData)
Constructs a new instance of the Tournament
class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TournamentData | The raw tournament data from the API. |
Properties
id
The ID of the tournament.
Type: Number
schedule
The tournament's schedule.
Type: TournamentSchedule
subtitle
The description (day) of the tournament.
Type: String
themeId
The ID of the theme of the tournament.
Type: Number
title
The name (title) of the tournament.
Type: String
Table of Contents