SMSG NAME QUERY RESPONSE: Difference between revisions
Jump to navigation
Jump to search
m (Remove incorrect size) |
(→Body: Fix race, gender and class incorrectly being uint8 when they are uint32) |
||
Line 21: | Line 21: | ||
| - || - / Big || uint8[] || realm_name || Null terminated string. Additional realm name for cross server players. An empty string shows nothing. | | - || - / Big || uint8[] || realm_name || Null terminated string. Additional realm name for cross server players. An empty string shows nothing. | ||
|- | |- | ||
| - || | | - || 4 / - || uint32 || race || | ||
|- | |- | ||
| - || | | - || 4 / - || uint32 || gender || | ||
|- | |- | ||
| - || | | - || 4 / - || uint32 || class || | ||
|} | |} | ||
{{SMSG_Categories}} | {{SMSG_Categories}} |
Latest revision as of 20:55, 26 July 2021
SMSG_NAME_QUERY_RESPONSE is a World Packet that is sent as a response to a CMSG_NAME_QUERY from the client.
Packet Layout
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x0 | 2 / Big | uint16 | size | Size of the packet including the opcode field. |
0x2 | 2 / Little | uint16 | opcode | Opcode for the packet. Determines the structure of the body. Always 0x03A. |
Body
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x0 | 8 / - | uint64 | guid | GUID of the requested character. |
0x8 | - / Big | uint8[] | character_name | Null terminated string. Character name. |
- | - / Big | uint8[] | realm_name | Null terminated string. Additional realm name for cross server players. An empty string shows nothing. |
- | 4 / - | uint32 | race | |
- | 4 / - | uint32 | gender | |
- | 4 / - | uint32 | class |