@fnlb-project/fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
15 lines • 664 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 STWRangedWeaponSchematic 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 = STWRangedWeaponSchematic;
//# sourceMappingURL=STWRangedWeaponSchematic.js.map