UNPKG

@fnlb-project/fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

16 lines 670 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const STWSchematic_1 = tslib_1.__importDefault(require("./STWSchematic")); const Util_1 = require("../../util/Util"); class STWTrapSchematic 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 = STWTrapSchematic; //# sourceMappingURL=STWTrapSchematic.js.map