SMSG_PET_NAME_QUERY_RESPONSE
Client Version 1.12
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_pet_name_query_response.wowm:1.
smsg SMSG_PET_NAME_QUERY_RESPONSE = 0x0053 {
u32 pet_number;
CString name;
u32 pet_name_timestamp;
}
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 | 4 / Little | u32 | pet_number | |
| 0x08 | - / - | CString | name | |
| - | 4 / Little | u32 | pet_name_timestamp |
Examples
Example 1
0, 17, // size
83, 0, // opcode (83)
239, 190, 173, 222, // pet_number: u32
65, 66, 67, 68, 69, 70, 0, // name: CString
222, 202, 250, 0, // pet_name_timestamp: u32
Client Version 2.4.3, Client Version 3
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_pet_name_query_response.wowm:30.
smsg SMSG_PET_NAME_QUERY_RESPONSE = 0x0053 {
u32 pet_number;
CString name;
u32 pet_name_timestamp;
PetQueryDisabledNames names;
if (names == PRESENT) {
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 |
|---|---|---|---|---|
| - | 4 / Little | u32 | pet_number | |
| - | - / - | CString | name | |
| - | 4 / Little | u32 | pet_name_timestamp | |
| - | 1 / - | PetQueryDisabledNames | names |
If names is equal to PRESENT:
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| - | ? / - | CString[5] | declined_names |