SMSG_REFER_A_FRIEND_FAILURE

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/social/smsg_refer_a_friend_failure.wowm:21.

smsg SMSG_REFER_A_FRIEND_FAILURE = 0x0420 {
    (u32)ReferAFriendError error;
    if (error == NOT_IN_GROUP) {
        CString target_name;
    }
}

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 / -ReferAFriendErrorerror

If error is equal to NOT_IN_GROUP:

OffsetSize / EndiannessTypeNameComment
0x08- / -CStringtarget_name

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/social/smsg_refer_a_friend_failure.wowm:30.

smsg SMSG_REFER_A_FRIEND_FAILURE = 0x0421 {
    (u32)ReferAFriendError error;
    if (error == NOT_IN_GROUP) {
        CString target_name;
    }
}

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 / -ReferAFriendErrorerror

If error is equal to NOT_IN_GROUP:

OffsetSize / EndiannessTypeNameComment
-- / -CStringtarget_name