CGNamePlateFrame::Bind
function · ui · orchestration
- Address
0x7cb6d0· 373 bytes, up to0x7cb844- Meaning
- Binds a plate to a unit: GUID, name, bar, size, anchors, colour, level and raid icon
- Confidence
- verified, proof one
- Finding
- ui/nameplates#name-flash-and-dim
- Test
ui::glue_7cb6d0_scale6
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
- CGUnit_C::UpdateNamePlate objectlayer
Callees 10
- FindRaidTargetSlot ui
- CGUnit_C::GetUnitName objectlayer
- CLayoutFrame::SetPoint ui
- CLayoutFrame::SetAllPoints ui
- CSimpleFontString::SetText ui
- CScriptRegion::SetVertexColor ui
- CGNamePlateFrame::SetBarColor ui
- CGNamePlateFrame::UpdateLevel ui
- CGNamePlateFrame::SetRaidIcon ui
- CNamePlateHealthBar::Bind ui
Calls and jumps by a bare address, from tables/calls.tsv.