UNPKG

fnbr

Version:

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

25 lines 838 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Base_1 = tslib_1.__importDefault(require("../Base")); /** * Represents a user's global profile. * Any value could be undefined if the user changed their privacy settings */ class GlobalProfile extends Base_1.default { /** * @param client The main client * @param data The avatar's data * @param user The user this avatar belongs to */ constructor(client, data, user) { super(client); this.user = user; this.playRegion = data.playRegion; this.languages = data.languages; this.hasBattlePass = data.hasBattlePass; this.hasCrewMembership = data.hasCrewMembership; } } exports.default = GlobalProfile; //# sourceMappingURL=GlobalProfile.js.map