benilla-re systems structs docs

CGNamePlateFrame::OnUpdate

function · ui · orchestration

Address
0x7cb950 · 212 bytes, up to 0x7cba23
Meaning
Counts down the flash, sets the name colour and dims the plate unless its unit is the target
Confidence
verified, proof one
Finding
ui/nameplates#name-flash-and-dim
Test
ui::glue_7cb950_scale1000

Finding: Name, flash and dim in ui: the nameplate frame

The bind 0x7cb6d0 stores the unit GUID (+0x4e8, +0x4ec), resets the name colour to white, sets the name text from 0x609210 and binds the bar. 0x7cba70 starts a flash: it sets the timer +0x514 to 5000 milliseconds and the name colour to red. OnUpdate counts the timer down by the elapsed seconds times 1000 and, when it reaches 0 or less, sets the name to yellow while the glow is shown (hovered) and white otherwise. It also sets the plate's alpha to 0xff when no target is set or the unit is the target, else 0x7f.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.