@fnlb-project/fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
15 lines • 661 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const STWWeaponSchematic_1 = tslib_1.__importDefault(require("./STWWeaponSchematic"));
const Util_1 = require("../../util/Util");
class STWMeleeWeaponSchematic extends STWWeaponSchematic_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;
}
}
exports.default = STWMeleeWeaponSchematic;
//# sourceMappingURL=STWMeleeWeaponSchematic.js.map