UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

47 lines (46 loc) 1.11 kB
import Base from '../Base'; import type Client from '../Client'; import type { LightswitchData, LightswitchLauncherInfo } from '../../resources/structs'; /** * Represents a Fortnite server status */ declare class FortniteServerStatus extends Base { /** * The service's instance id */ serviceInstanceId: string; /** * The server status */ status: string; /** * The server status message */ message: string; /** * The server status mainteance uri */ maintenanceUri?: string; /** * The overwritten catalog ids */ overrideCatalogIds: string[]; /** * The client user's allowed service actions */ allowedActions: string[]; /** * Whether the client user is banned from the service */ isBanned: boolean; /** * The service's launcher info */ launcherInfoDTO: LightswitchLauncherInfo; /** * @param client The main client * @param data The server status data */ constructor(client: Client, data: LightswitchData); } export default FortniteServerStatus;