benilla-re systems structs docs

HandleRaidTargetUpdatePacket

function · ui · primitive

Address
0x4ba220 · 313 bytes, up to 0x4ba358
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the raid target message into the icon table and signals RAID_TARGET_UPDATE
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/raid#the-raid-target-table

Finding: The raid target table in ui: the raid roster, ready check and raid targets

GetRaidTargetIndex(unit) pushes one value, the unit's 1-based icon number 1 to 8, or nil. The table 0xb71368 holds eight GUIDs; 0x4bb190(guid) returns the slot of a GUID or 8. The wire is 0-based, the Lua side 1-based. Opcode 0x321 arrives at 0x4ba220: u8 mode; a nonzero mode clears all eight and refreshes the nameplate icon of each former holder; then u8 slot, u64 guid pairs are read to the end, each refreshing the old and new holder, and RAID_TARGET_UPDATE is signalled once. A group list without the raid flag also clears the table (0x4ba550): when the roster was not empty it shows ERR_RAID_YOU_LEFT and signals RAID_ROSTER_UPDATE; it always zeroes the table and signals RAID_TARGET_UPDATE.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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