UNPKG

kartrider.js

Version:
20 lines (19 loc) 603 B
import type { Client } from './Client'; import type { rawPlayer } from './types'; import type { MetaDataInfo } from './MetaData'; export declare class Player { id: string; name: string; character: MetaDataInfo; kart: MetaDataInfo; pet: MetaDataInfo; flyingPet: MetaDataInfo; matchTime: number; matchWin: boolean; _licenseID: string; matchRetired: boolean; matchRank: number | null; teamID: string | undefined; constructor(client: Client, data: rawPlayer, teamID?: string); get license(): "초보" | "루키" | "L3" | "L2" | "L1" | "PRO" | null; }