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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 8 | uint64_t | m_guid | Holds the character guid, which the world entry sends | verified, proof one | glue/flow#two-phase-world-entry |
0x0008 | 48 | char[48] | m_name | Holds the character's name; the rename applier copies at most 48 bytes into it | verified, proof one | glue/select#the-roster |
0x0038 | 4 | uint32_t | m_mapId | Holds the character map, passed to the loading screen and to ClientInitializeGame | verified, proof one | glue/flow#two-phase-world-entry |
0x003c | 4 | int32_t | m_zoneId | Holds the character's zone, an AreaTable id | verified, proof one | glue/select#the-roster |
0x0040 | 4 | uint32_t | m_guildId | Holds the character's guild id, which the tabard emblem lookup uses | verified, proof one | glue/select#the-roster |
0x0044 | 12 | float[3] | m_position | Holds the character position, passed to ClientInitializeGame | verified, proof one | glue/flow#two-phase-world-entry |
0x0050 | 80 | int32_t[20] | m_itemDisplayIds | Holds an ItemDisplayInfo id per equipment slot 0 to 19, 0 for none | verified, proof one | glue/select#the-roster |
0x00a0 | 80 | uint32_t[20] | m_inventoryTypes | Holds an inventory type per equipment slot; 14 marks a shield in slots 15 and 16 | inferred | glue/select#the-roster |
0x00f0 | 4 | uint32_t | m_petDisplayId | Holds the pet's CreatureDisplayInfo id, 0 for none | verified, proof one | glue/select#the-roster |
0x00f4 | 4 | int32_t | m_petLevel | Holds the pet's level, which sets its scale through its CreatureFamily row | verified, proof one | glue/select#the-roster |
0x00f8 | 4 | int32_t | m_petFamily | Holds the pet's CreatureFamily id | verified, proof one | glue/select#the-roster |
0x00fc | 4 | uint32_t | m_flags | Holds the character flags; bit 2 locked for transfer, bit 14 rename required | verified, proof one | glue/flow#enter-world |
0x0100 | 1 | uint8_t | m_race | Holds the character race id, the key of the first-login camera lookup | verified, proof one | glue/flow#two-phase-world-entry |
0x0101 | 1 | uint8_t | m_class | Holds the class, a ChrClasses id | verified, proof one | glue/select#the-roster |
0x0102 | 1 | uint8_t | m_sex | Holds the sex | inferred | glue/select#the-roster |
0x0103 | 1 | uint8_t | m_skin | Holds the skin colour | inferred | glue/select#the-roster |
0x0104 | 1 | uint8_t | m_face | Holds the face | inferred | glue/select#the-roster |
0x0105 | 1 | uint8_t | m_hairStyle | Holds the hair style | inferred | glue/select#the-roster |
0x0106 | 1 | uint8_t | m_hairColor | Holds the hair colour | inferred | glue/select#the-roster |
0x0107 | 1 | uint8_t | m_facialHair | Holds the facial hair | inferred | glue/select#the-roster |
0x0108 | 1 | uint8_t | m_level | Holds the character's level | inferred | glue/select#the-roster |
0x010a | 1 | uint8_t | m_newCharacter | Holds 1 for a character whose byte +0x108 read 0 in the list parse; selects the first-login camera, skips the tip | verified, proof one | glue/flow#game-tip-choice |
0x0110 | 4 | void * | m_component | Holds the built character component, null until the select build makes it; the record destructor zeroes it | verified, proof one | glue/select#the-roster |
0x0114 | 4 | void * | m_petModel | Holds the pet's model, null until built; the destructor releases it without clearing | verified, proof one | glue/select#the-roster |
0x0118 | 1 | uint8_t | m_rebuildModel | Holds 1 for a new or entered record; the select screen clears it when it builds the model | inferred | glue/flow#enter-world |
Globals of this type
0xb42144s_characters