benilla-re systems structs docs

OnRaidRosterName

function · ui · primitive

Address
0x4bad90 · 38 bytes, up to 0x4badb5
Signature
void __cdecl (void)
Meaning
Lowers the pending roster name count and at 0 signals RAID_ROSTER_UPDATE, then PARTY_MEMBERS_CHANGED
Confidence
verified, proof one
Finding
ui/raid#pending-roster-names
Test
ui::raid_pending_names_difftest

Finding: Pending roster names in ui: the raid roster, ready check and raid targets

The rebuild asks the name cache for each row with a nonzero GUID, with 0x4ba1b0 as the callback, and counts the misses in 0xb713f0. With none it signals RAID_ROSTER_UPDATE itself; otherwise each answer runs 0x4bad90, which lowers the count and at 0, or when it already was 0, signals RAID_ROSTER_UPDATE and then PARTY_MEMBERS_CHANGED. A rebuild while names are pending first cancels that callback on every old row's GUID and restarts the count at 0. On entering the world 0x4ba140 gives the first row below the count with GUID 0, the own row the group list appends while ClntObjMgrGetActivePlayer returns 0, the active player's GUID and asks for its name the same way; a cached name signals RAID_ROSTER_UPDATE alone.

The derivation is in the doc.

Callers 1

Callees 1

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