UNPKG

fnbr

Version:

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

28 lines (27 loc) 718 B
import STWItem from './STWItem'; import type Client from '../../Client'; import type { STWProfileResourceData } from '../../../resources/httpResponses'; /** * Represents a Save The World profile's resource */ declare class STWResource extends STWItem { /** * The resource's ID */ resourceId: string; /** * Whether the resource is marked as favorite */ isFavorite: boolean; /** * Whether the resource is marked as seen */ isSeen: boolean; /** * @param client The main client * @param id The item ID * @param data The resource data */ constructor(client: Client, id: string, data: STWProfileResourceData); } export default STWResource;