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;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littleu32pet_number
0x08- / -CStringname
-4 / Littleu32pet_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

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize 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 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-4 / Littleu32pet_number
-- / -CStringname
-4 / Littleu32pet_name_timestamp
-1 / -PetQueryDisabledNamesnames

If names is equal to PRESENT:

OffsetSize / EndiannessTypeNameComment
-? / -CString[5]declined_names