benilla-re systems structs docs

CharacterSelectionDisplay

struct · glue · 288 bytes

Meaning
Holds one character-list record: the session character record in its first 0x110 bytes, then the select screen state
Confidence
verified, proof one
Finding
glue/flow#enter-world

Finding: Enter World in glue: the screen flow

CGlueMgr::EnterWorld (0x46b500) returns when no realm is selected (0x5ab9a0). It points 0xb41df4 at the selected record, [0xb42144] + 0x120·i for the index i in 0x83856c when 0 ≤ i < [0xb42140], else null, and returns on null. It sets the record's byte +0x118, returns unless the session is connected, then tests the record's flags +0xfc: bit 2 opens OKAY with CHAR_LOGIN_LOCKED_FOR_TRANSFER (0x44), bit 14 fires FORCE_RENAME_CHARACTER with CHAR_RENAME_DESCRIPTION; either returns. Otherwise it sets lastCharacterIndex to i in decimal, hands the session the account and record, picks the game tip, starts the loading screen for the map +0x38, saves the configuration, empties the texture caches, cancels the logon and enters state 8.

The derivation is in the doc.

Fields 25

offsetsizetypenamemeaningconfidencefinding
0x00008uint64_tm_guidHolds the character guid, which the world entry sendsverified, proof oneglue/flow#two-phase-world-entry
0x000848char[48]m_nameHolds the character's name; the rename applier copies at most 48 bytes into itverified, proof oneglue/select#the-roster
0x00384uint32_tm_mapIdHolds the character map, passed to the loading screen and to ClientInitializeGameverified, proof oneglue/flow#two-phase-world-entry
0x003c4int32_tm_zoneIdHolds the character's zone, an AreaTable idverified, proof oneglue/select#the-roster
0x00404uint32_tm_guildIdHolds the character's guild id, which the tabard emblem lookup usesverified, proof oneglue/select#the-roster
0x004412float[3]m_positionHolds the character position, passed to ClientInitializeGameverified, proof oneglue/flow#two-phase-world-entry
0x005080int32_t[20]m_itemDisplayIdsHolds an ItemDisplayInfo id per equipment slot 0 to 19, 0 for noneverified, proof oneglue/select#the-roster
0x00a080uint32_t[20]m_inventoryTypesHolds an inventory type per equipment slot; 14 marks a shield in slots 15 and 16inferredglue/select#the-roster
0x00f04uint32_tm_petDisplayIdHolds the pet's CreatureDisplayInfo id, 0 for noneverified, proof oneglue/select#the-roster
0x00f44int32_tm_petLevelHolds the pet's level, which sets its scale through its CreatureFamily rowverified, proof oneglue/select#the-roster
0x00f84int32_tm_petFamilyHolds the pet's CreatureFamily idverified, proof oneglue/select#the-roster
0x00fc4uint32_tm_flagsHolds the character flags; bit 2 locked for transfer, bit 14 rename requiredverified, proof oneglue/flow#enter-world
0x01001uint8_tm_raceHolds the character race id, the key of the first-login camera lookupverified, proof oneglue/flow#two-phase-world-entry
0x01011uint8_tm_classHolds the class, a ChrClasses idverified, proof oneglue/select#the-roster
0x01021uint8_tm_sexHolds the sexinferredglue/select#the-roster
0x01031uint8_tm_skinHolds the skin colourinferredglue/select#the-roster
0x01041uint8_tm_faceHolds the faceinferredglue/select#the-roster
0x01051uint8_tm_hairStyleHolds the hair styleinferredglue/select#the-roster
0x01061uint8_tm_hairColorHolds the hair colourinferredglue/select#the-roster
0x01071uint8_tm_facialHairHolds the facial hairinferredglue/select#the-roster
0x01081uint8_tm_levelHolds the character's levelinferredglue/select#the-roster
0x010a1uint8_tm_newCharacterHolds 1 for a character whose byte +0x108 read 0 in the list parse; selects the first-login camera, skips the tipverified, proof oneglue/flow#game-tip-choice
0x01104void *m_componentHolds the built character component, null until the select build makes it; the record destructor zeroes itverified, proof oneglue/select#the-roster
0x01144void *m_petModelHolds the pet's model, null until built; the destructor releases it without clearingverified, proof oneglue/select#the-roster
0x01181uint8_tm_rebuildModelHolds 1 for a new or entered record; the select screen clears it when it builds the modelinferredglue/flow#enter-world

Globals of this type