W3Booster SDK 4.6.0
    Preparing search index...

    Interface Unit

    An observed unit instance. IDs are opaque strings scoped to match.id.

    interface Unit {
        hitpoints?: ValuePool;
        id: string;
        isIllusion: boolean;
        mana?: ValuePool;
        position?: Point;
        typeId: string;
    }

    Hierarchy (View Summary)

    Index
    hitpoints?: ValuePool
    id: string
    isIllusion: boolean

    Always observed by the reader. Raw collections retain illusions; selectors exclude them by default.

    mana?: ValuePool
    position?: Point

    Heroes: sampled every 200 ms. Structures: first observed position, retained. Ordinary units: omitted.

    typeId: string

    Actual Warcraft unit type rawcode; never an instance identity.