fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
87 lines (86 loc) • 2.2 kB
TypeScript
import Base from '../Base';
import TournamentWindow from './TournamentWindow';
import type { PlatformMappings, RegionMappings, TournamentData, TournamentDisplayData, TournamentMetadata } from '../../resources/httpResponses';
import type { FullPlatform, Region, TournamentColors, TournamentImages, TournamentTexts, TournamentWindowTemplate } from '../../resources/structs';
import type Client from '../Client';
/**
* Represents a Fortnite tournament
*/
declare class Tournament extends Base {
/**
* The tournament's ID
*/
id: string;
/**
* The regions of this tournament
*/
regions: Region[];
/**
* The region mappings
*/
regionMappings: RegionMappings;
/**
* The platforms of this tournament
*/
platforms: FullPlatform[];
/**
* The platform mappings
*/
platformMappings: PlatformMappings;
/**
* The tournament's display data ID
*/
displayDataId: string;
/**
* The event group
*/
eventGroup: string;
/**
* The tournament's announcement time
*/
announcementTime: Date;
/**
* The tournament's app ID
*/
appId?: any;
/**
* The environment
*/
environment?: any;
/**
* The tournament's meta data
*/
metadata: TournamentMetadata;
/**
* The tournament's start time
*/
beginTime: Date;
/**
* The tournament's end time
*/
endTime: Date;
/**
* The tournament's display color data
*/
colors: TournamentColors;
/**
* The tournament's display image data
*/
images: TournamentImages;
/**
* The tournament's display text data
*/
texts: TournamentTexts;
/**
* The tournament's windows
*/
windows: TournamentWindow[];
/**
* @param client The main client
* @param tournamentData The tournament data
* @param tournamentDisplayData The tournament display data
* @param templates The tournament template
*/
constructor(client: Client, tournamentData: TournamentData, tournamentDisplayData: TournamentDisplayData, templates: TournamentWindowTemplate[]);
}
export default Tournament;