UNPKG

fnbr

Version:

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

45 lines (44 loc) 1.07 kB
import STWItem from './STWItem'; import type { STWProfileHeroLoadoutData } from '../../../resources/httpResponses'; import type Client from '../../Client'; /** * Represents a Save The World profile's hero loadout */ declare class STWHeroLoadout extends STWItem { /** * The loadout's index */ loadoutIndex: number; /** * The loadout's team perk ID */ teamPerk?: string; /** * The loadout's main hero (commander) ID */ commanderSlot: string; /** * The loadout's support hero IDs */ supportSquad: [ string | undefined, string | undefined, string | undefined, string | undefined, string | undefined ]; /** * The loadout's gadget IDs */ gadgets: [ string | undefined, string | undefined ]; /** * @param client The main client * @param id The item ID * @param data The loadout data */ constructor(client: Client, id: string, data: STWProfileHeroLoadoutData); } export default STWHeroLoadout;