UNPKG

earthmc

Version:

An unofficial EarthMC library providing handy methods and extensive info.

22 lines 719 B
import type { Prettify, Resident, Location, SquaremapLocation } from '../types/index.js'; export type ParsedPlayer = { name: string; nickname?: string; underground?: boolean; world?: string; }; export type OnlinePlayer = Prettify<ParsedPlayer & Location>; export type Player = Prettify<Resident & Partial<OnlinePlayer> & { online: boolean; }>; export type SquaremapParsedPlayer = { uuid: string; name: string; nickname?: string; world?: string; }; export type SquaremapOnlinePlayer = Prettify<SquaremapParsedPlayer & SquaremapLocation>; export type SquaremapPlayer = Prettify<Resident & Partial<SquaremapOnlinePlayer> & { online: boolean; }>; //# sourceMappingURL=player.d.ts.map