SMSG_NAME_QUERY_RESPONSE
Client Version 1.12
Response to CMSG_NAME_QUERY.
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_name_query_response.wowm:2
.
smsg SMSG_NAME_QUERY_RESPONSE = 0x0051 {
Guid guid;
CString character_name;
CString realm_name;
(u32)Race race;
(u32)Gender gender;
(u32)Class class;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | 8 / Little | Guid | guid | |
0x0C | - / - | CString | character_name | |
- | - / - | CString | realm_name | Used for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm. |
- | 4 / - | Race | race | |
- | 4 / - | Gender | gender | |
- | 4 / - | Class | class |
Examples
Example 1
0, 28, // size
81, 0, // opcode (81)
239, 190, 173, 222, 0, 0, 0, 0, // guid: Guid
65, 115, 100, 102, 0, // character_name: CString
0, // realm_name: CString
1, 0, 0, 0, // race: Race HUMAN (1)
0, 0, 0, 0, // gender: Gender MALE (0)
1, 0, 0, 0, // class: Class WARRIOR (1)
Example 2
0, 29, // size
81, 0, // opcode (81)
239, 190, 173, 222, 0, 0, 0, 0, // guid: Guid
65, 115, 100, 102, 0, // character_name: CString
65, 0, // realm_name: CString
1, 0, 0, 0, // race: Race HUMAN (1)
0, 0, 0, 0, // gender: Gender MALE (0)
1, 0, 0, 0, // class: Class WARRIOR (1)
Client Version 2.4.3
Response to CMSG_NAME_QUERY.
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_name_query_response.wowm:22
.
smsg SMSG_NAME_QUERY_RESPONSE = 0x0051 {
PackedGuid guid;
CString character_name;
CString realm_name;
(u32)Race race;
(u32)Gender gender;
(u32)Class class;
DeclinedNames has_declined_names;
if (has_declined_names == YES) {
CString[5] declined_names;
}
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | - / - | PackedGuid | guid | |
- | - / - | CString | character_name | |
- | - / - | CString | realm_name | Used for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm. |
- | 4 / - | Race | race | |
- | 4 / - | Gender | gender | |
- | 4 / - | Class | class | |
- | 1 / - | DeclinedNames | has_declined_names |
If has_declined_names is equal to YES
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | ? / - | CString[5] | declined_names |
Client Version 3.3.5
Response to CMSG_NAME_QUERY.
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_name_query_response.wowm:39
.
smsg SMSG_NAME_QUERY_RESPONSE = 0x0051 {
PackedGuid guid;
u8 early_terminate = 0;
CString character_name;
CString realm_name;
Race race;
Gender gender;
Class class;
DeclinedNames has_declined_names;
if (has_declined_names == YES) {
CString[5] declined_names;
}
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 OR 3 / Big | uint16 OR uint16+uint8 | size | Size of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2. |
- | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | PackedGuid | guid | |
- | 1 / - | u8 | early_terminate | Added in 3.1 When this is 1, the packet stops early. However, there is as of yet no good reason to ever send 1, so this is const |
- | - / - | CString | character_name | |
- | - / - | CString | realm_name | Used for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm. |
- | 1 / - | Race | race | |
- | 1 / - | Gender | gender | |
- | 1 / - | Class | class | |
- | 1 / - | DeclinedNames | has_declined_names |
If has_declined_names is equal to YES
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | ? / - | CString[5] | declined_names |