fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
32 lines (31 loc) • 704 B
TypeScript
import Base from '../../Base';
import type Client from '../../Client';
import type { STWProfileItemData } from '../../../resources/httpResponses';
/**
* Represents a Save The World profile's item
*/
declare class STWItem extends Base {
/**
* The item ID
*/
id: string;
/**
* The item's template ID
*/
templateId: string;
/**
* The item's quantity
*/
quantity: number;
/**
* The item's attributes
*/
attributes: any;
/**
* @param client The main client
* @param id The item ID
* @param data The item's data
*/
constructor(client: Client, id: string, data: STWProfileItemData);
}
export default STWItem;