fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
20 lines • 778 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const EpicgamesServerStatusIncident_1 = tslib_1.__importDefault(require("./EpicgamesServerStatusIncident"));
/**
* Represents an Epicgames server status
*/
class EpicgamesServerStatusScheduledMainteance extends EpicgamesServerStatusIncident_1.default {
/**
* @param client The main client
* @param data The server status data
*/
constructor(client, data) {
super(client, data);
this.scheduledFor = new Date(data.scheduled_for);
this.scheduledUntil = new Date(data.scheduled_until);
}
}
exports.default = EpicgamesServerStatusScheduledMainteance;
//# sourceMappingURL=EpicgamesServerStatusScheduledMainteance.js.map