benilla-re systems structs docs

CGNamePlateFrame::Flash

function · ui · orchestration

Address
0x7cba70 · 40 bytes, up to 0x7cba97
Signature
void __thiscall (CGNamePlateFrame *this)
Meaning
Starts a 5000 ms flash and sets the name colour to red
Confidence
verified, proof one
Finding
ui/nameplates#name-flash-and-dim

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 1

Callees 1

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