W3Booster SDK 3.1.0
    Preparing search index...

    Interface Player

    interface Player {
        buildings?: Readonly<Record<string, Building>>;
        colorId?: number;
        controlgroups?: Readonly<Record<string, ControlGroup>>;
        heroes?: Readonly<Record<string, Hero>>;
        id: string;
        isAI?: boolean;
        mainAccount?: MainAccount;
        name?: string;
        race?: Race;
        resources?: Resources;
        startPosition?: Point;
        stats?: PlayerStatsCollection;
        team?: number;
        units?: Readonly<Record<string, Unit>>;
        upgrades?: UpgradeState;
    }
    Index
    buildings?: Readonly<Record<string, Building>>
    colorId?: number
    controlgroups?: Readonly<Record<string, ControlGroup>>
    heroes?: Readonly<Record<string, Hero>>
    id: string
    isAI?: boolean
    mainAccount?: MainAccount
    name?: string
    race?: Race
    resources?: Resources
    startPosition?: Point
    team?: number
    units?: Readonly<Record<string, Unit>>

    Mutually exclusive observed collections, keyed by instance ID. Not authoritative counts.

    upgrades?: UpgradeState