@fnlb-project/fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
16 lines • 676 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Util_1 = require("../../util/Util");
const STWSchematic_1 = tslib_1.__importDefault(require("./STWSchematic"));
class STWWeaponSchematic extends STWSchematic_1.default {
constructor(client, id, data) {
super(client, id, data);
const parsedSchematic = (0, Util_1.parseSTWSchematicTemplateId)(data.templateId);
this.type = parsedSchematic.type;
this.subType = parsedSchematic.subType;
this.evoType = parsedSchematic.evoType;
}
}
exports.default = STWWeaponSchematic;
//# sourceMappingURL=STWWeaponSchematic.js.map