Interface MasterSrvFoundPlayer

Represents a player found on the master server.

interface MasterSrvFoundPlayer {
    clan: string;
    name: string;
    self: {
        afk?: boolean;
        clan: string;
        country: number;
        is_player: boolean;
        name: string;
        score: number;
        skin?: {
            body?: {
                color?: number;
                name: string;
            };
            color_body?: number;
            color_feet?: number;
            decoration?: {
                color?: number;
                name: string;
            };
            eyes?: {
                color?: number;
                name: string;
            };
            feet?: {
                color?: number;
                name: string;
            };
            hands?: {
                color?: number;
                name: string;
            };
            marking?: {
                color?: number;
                name: string;
            };
            name?: string;
        };
        team?: number;
    };
    server: {
        addresses: string[];
        name: string;
        self: {
            addresses: string[];
            info?: unknown;
            location?: string;
        };
    };
    toPlayer: (() => Promise<Player>);
}

Properties

clan: string
name: string
self: {
    afk?: boolean;
    clan: string;
    country: number;
    is_player: boolean;
    name: string;
    score: number;
    skin?: {
        body?: {
            color?: number;
            name: string;
        };
        color_body?: number;
        color_feet?: number;
        decoration?: {
            color?: number;
            name: string;
        };
        eyes?: {
            color?: number;
            name: string;
        };
        feet?: {
            color?: number;
            name: string;
        };
        hands?: {
            color?: number;
            name: string;
        };
        marking?: {
            color?: number;
            name: string;
        };
        name?: string;
    };
    team?: number;
}
server: {
    addresses: string[];
    name: string;
    self: {
        addresses: string[];
        info?: unknown;
        location?: string;
    };
}
toPlayer: (() => Promise<Player>)