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

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
0x048 / LittleGuidguid
0x0C- / -CStringcharacter_name
-- / -CStringrealm_nameUsed for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm.
-4 / -Racerace
-4 / -Gendergender
-4 / -Classclass

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

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
0x04- / -PackedGuidguid
-- / -CStringcharacter_name
-- / -CStringrealm_nameUsed for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm.
-4 / -Racerace
-4 / -Gendergender
-4 / -Classclass
-1 / -DeclinedNameshas_declined_names

If has_declined_names is equal to YES:

OffsetSize / EndiannessTypeNameComment
-? / -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

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
-- / -PackedGuidguid
-1 / -u8early_terminateAdded 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
-- / -CStringcharacter_name
-- / -CStringrealm_nameUsed for showing cross realm realm names. If this is an empty string it is shown like a regular player on the same realm.
-1 / -Racerace
-1 / -Gendergender
-1 / -Classclass
-1 / -DeclinedNameshas_declined_names

If has_declined_names is equal to YES:

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