LoadCharSelectRoster
function · glue · orchestration
- Address
0x4724d0· 162 bytes, up to0x472571- Signature
void __cdecl (void)- Meaning
- Rebuilds the roster from net's list and selects lastCharacterIndex, or with none asks for the realm list
- Confidence
- verified, proof one
- Finding
- glue/select#roster-load
Finding: Roster load in glue: character select
When the list arrives, 0x4724d0 empties the interface's add-on state (0x51f0b0 with null),
destroys every record, zeroes the count and appends net's records. With characters, it sets
0x837e9c to 0, selects the integer of the CVar lastCharacterIndex (0x472740 clamps it) and
fires CHARACTER_LIST_UPDATE (7). With none, it selects −1, which stores 0 and fires
UPDATE_SELECTED_CHARACTER with 1, and detaches scene attachments 0 and 1; then, while
0x837e9c holds −1 (no realm chosen this session), it asks for the realm list with
0x46b8d0(1) and fires nothing, else it fires CHARACTER_LIST_UPDATE.
The derivation is in the doc.
Callers 1
- CGlueMgr::Idle glue
Callees 9
- CGlueMgr::GetRealmList glue
- DetachCharSelectCharacter glue
- DetachCharSelectPet glue
- SelectCharSelectRecord glue
- DestroyCharSelectRecord glue
- DropCharacterAddOnState ui
- ClientConnection::EnumerateCharacters net
- ClientServices::GetCurrent net
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.