fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
23 lines • 660 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Base_1 = tslib_1.__importDefault(require("../../Base"));
/**
* Represents a Save The World profile's item
*/
class STWItem extends Base_1.default {
/**
* @param client The main client
* @param id The item ID
* @param data The item's data
*/
constructor(client, id, data) {
super(client);
this.id = id;
this.templateId = data.templateId;
this.quantity = data.quantity;
this.attributes = data.attributes;
}
}
exports.default = STWItem;
//# sourceMappingURL=STWItem.js.map