A body part paired with its hit locations, for the Body Locations tree.

interface BodyPartNode {
    index: number;
    label: string;
    locations: BodyLocationRow[];
    role?: string;
    shortcode: string;
}

Properties

index: number

Zero-based index of the part within the structure's flat parts array.

label: string

The part's display label.

locations: BodyLocationRow[]

The part's hit locations, in order.

role?: string

The part's functional roles rendered as a compact display badge (e.g. "Vital, Core"), or empty when the part fulfills no roles. Shown by the Profile body-structure tree's chip--role badge.

shortcode: string

The part's shortcode (its row key within the structure), for the Edit action.