RefreshTooltipForUnit
function · ui · orchestration
- Address
0x4919d0· 40 bytes, up to0x4919f7- Signature
void __thiscall (void *this)- Meaning
- Rebuilds the tooltip when it still shows the unit the GUID names
- Confidence
- verified, proof one
- Finding
- ui/mouseover#the-tooltip-stays-put
Finding: The tooltip stays put in ui: the world under the pointer
Nothing in the GameTooltip's hide, owner or fade code writes the mouseover state, and nothing polls for a missing
plate. The hide 0x530a60 is SetOwner(0, 0, 0, 0) then the base hide. 0x52ffe0 clears the tooltip first
(0x530050), which zeroes the remembered unit and game object subjects and the line count and fires
OnTooltipCleared; it then stores the owner and the anchor mode, 7 (none) unless an owner is given. The fade
0x530ae0 hides at once when the anchor mode is 6 (cursor) and otherwise arms a fade of 2.0 seconds. So a script
that hides the tooltip leaves the plate gone until the mouseover object changes or a reset of the cached pair
happens.
The derivation is in the doc.
Callers 2
- NotifyUnitNameUpdate ui
- CGUnit_C::OnUnitFlagsChanged objectlayer
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.