RebuildRaidRoster
function · ui · primitive
- Address
0x4ba5f0· 1754 bytes, up to0x4bacc9- Signature
void __fastcall (const uint64_t *guids, const uint32_t *flags, const uint8_t *online, uint32_t count)- Meaning
- Rebuilds the raid roster from the group list, keeping blocks and ready words by GUID, and fixes the token flags
- Confidence
- verified, proof one
- Finding
- ui/raid#rebuilding-the-roster
- Test
ui::raid_rebuild_difftest
Finding: Rebuilding the roster in ui: the raid roster, ready check and raid targets
0x4ba5f0(guids, flags, online, count) replaces the roster with the group list's raid members, in list order. A GUID already on the
roster keeps its 0x148-byte block and ready check word; a new one gets a zeroed block whose u16 health, maximum, power and maximum power
are 1, and the word 0. Each row takes the GUID, subgroup, rank and online bit; rows past the new count keep what they held
(#rows-past-the-count). In order: tutorial 45 for a list with members; the notices (#roster-change-notices); ERR_RAID_YOU_JOINED
when the roster was empty; the rows and their name requests (#pending-roster-names); the token flags (#unit-tokens-after-a-rebuild);
RAID_ROSTER_UPDATE when no name is pending; and, when the roster was empty, opcode 0x321 with the byte 0xff.
The derivation is in the doc.
Callers 1
- ReadGroupList objectlayer
Callees 17
- __alloca_probe crt
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- OsGetAsyncTimeMs core
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::ReleaseTarget ui
- CGGameUI::DisplayError ui
- FireTutorial ui
- ShowReadyCheckSummary ui
- DBCache::NameCache::GetRecord dbcache
- DBCache::NameCache::CancelCallback dbcache
- ClientServices::Send net
- CGUnit_C::AddUnitTokenFlags objectlayer
- CGUnit_C::RemoveUnitTokenFlags objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.