UNPKG

fnbr

Version:

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

46 lines (45 loc) 1.05 kB
import Base from '../Base'; import type Client from '../Client'; import type { StatsData, StatsLevelData } from '../../resources/structs'; import type User from './user/User'; import type { RawStatsData } from '../../resources/httpResponses'; /** * Represents a user's battle royale stats */ declare class Stats extends Base { /** * The stats' start time */ startTime: Date; /** * The stats' end time */ endTime: Date; /** * The user the stats belong to */ user: User; /** * The stats */ stats: StatsData; /** * The stats' level data */ levelData: StatsLevelData; /** * The raw stats data */ data: RawStatsData; /** * @param client The main client * @param data The stats' data */ constructor(client: Client, data: RawStatsData, user: User); /** * Returns the playlist stats type by the playlist id * @param playlistID The playlist ID */ private getPlaylistStatsType; } export default Stats;