UNPKG

fnbr

Version:

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

37 lines (36 loc) 912 B
import Base from '../Base'; import type User from './user/User'; import type Client from '../Client'; /** * Represents a user's global profile. * Any value could be undefined if the user changed their privacy settings */ declare class GlobalProfile extends Base { /** * The user this global profile belongs to */ user: User; /** * The user's play region */ playRegion?: string; /** * The user's languages */ languages?: string[]; /** * Whether the user owns the battle pass */ hasBattlePass?: boolean; /** * Whether the user has the Fortnite crew membership */ hasCrewMembership?: boolean; /** * @param client The main client * @param data The avatar's data * @param user The user this avatar belongs to */ constructor(client: Client, data: any, user: User); } export default GlobalProfile;