W3Booster SDK 3.1.0
    Preparing search index...

    Interface Hero

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

    interface Hero {
        abilities?: readonly HeroAbility[];
        experience?: number;
        heroOrder?: number;
        hitpoints?: ValuePool;
        id: string;
        inventory?: readonly string[];
        isIllusion: boolean;
        level?: number;
        mana?: ValuePool;
        position?: Point;
        typeId: string;
    }

    Hierarchy (View Summary)

    Index
    abilities?: readonly HeroAbility[]
    experience?: number
    heroOrder?: number

    Native player-relative hero-bar ordering key. Lower values come first. Not a spawn timestamp or immutable slot; ownership/lifecycle changes can reassign it. Omitted until observed. Use the full instance ID as a deterministic fallback/tie-breaker.

    hitpoints?: ValuePool
    id: string
    inventory?: readonly string[]
    isIllusion: boolean

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

    level?: number
    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.