fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
22 lines • 644 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Base_1 = tslib_1.__importDefault(require("../Base"));
/**
* Represents a Support-A-Creator code
*/
class CreatorCode extends Base_1.default {
/**
* @param client The main client
* @param data The creator code data
*/
constructor(client, data) {
super(client);
this.code = data.slug;
this.owner = data.owner;
this.isEnabled = data.status === 'ACTIVE';
this.isVerified = data.verified;
}
}
exports.default = CreatorCode;
//# sourceMappingURL=CreatorCode.js.map