ClearRaidRoster
function · ui · primitive
- Address
0x4ba550· 150 bytes, up to0x4ba5e5- Meaning
- Leaves the raid roster, clears the raid target table and signals RAID_TARGET_UPDATE
- Confidence
- verified, proof one
- 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 1
- ReadGroupList objectlayer
Callees 4
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::DisplayError ui
- CGUnit_C::UpdateNamePlateIcon objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.