CGTooltip::OnUnitHealthChanged
function · ui · orchestration
- Address
0x529560· 98 bytes, up to0x5295c1- Signature
uint32_t __stdcall (uint32_t guidLow, uint32_t guidHigh, uint32_t length, void *statusBar)- Meaning
- Sets the tooltip health bar's range and value from the unit and returns 1
- Confidence
- verified, proof one
- Finding
- ui/tooltipunit#the-health-bar
Finding: The health bar in ui: The unit tooltip
If the tooltip has a status bar (+0x348), the builder gives it the range 0 to maximum health and the
value health, from the unit's fields or else from the party records, and watches the unit's health field,
so that a change of health moves the bar. The bar's colour is not set here.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- ClntObjMgrObjectPtr objectlayer
- CSimpleStatusBar::SetMinMaxValues ui
Calls and jumps by a bare address, from tables/calls.tsv.