CMSG_COMPLAIN

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/social/cmsg_complain.wowm:26.

cmsg CMSG_COMPLAIN = 0x03C6 {
    SpamType complaint_type;
    Guid offender;
    if (complaint_type == MAIL) {
        u32 unknown1;
        u32 mail_id;
        u32 unknown2;
    }
    else if (complaint_type == CHAT) {
        u32 language;
        u32 message_type;
        u32 channel_id;
        u32 time;
        CString description;
    }
}

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x061 / -SpamTypecomplaint_type
0x078 / LittleGuidoffender

If complaint_type is equal to MAIL:

OffsetSize / EndiannessTypeNameComment
0x0F4 / Littleu32unknown1
0x134 / Littleu32mail_id
0x174 / Littleu32unknown2

Else If complaint_type is equal to CHAT:

OffsetSize / EndiannessTypeNameComment
0x1B4 / Littleu32language
0x1F4 / Littleu32message_type
0x234 / Littleu32channel_id
0x274 / Littleu32time
0x2B- / -CStringdescription

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/social/cmsg_complain.wowm:8.

cmsg CMSG_COMPLAIN = 0x03C7 {
    SpamType complaint_type;
    Guid offender;
    if (complaint_type == MAIL) {
        u32 unknown1;
        u32 mail_id;
        u32 unknown2;
    }
    else if (complaint_type == CHAT) {
        u32 language;
        u32 message_type;
        u32 channel_id;
        u32 time;
        CString description;
    }
}

Header

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x061 / -SpamTypecomplaint_type
0x078 / LittleGuidoffender

If complaint_type is equal to MAIL:

OffsetSize / EndiannessTypeNameComment
0x0F4 / Littleu32unknown1
0x134 / Littleu32mail_id
0x174 / Littleu32unknown2

Else If complaint_type is equal to CHAT:

OffsetSize / EndiannessTypeNameComment
0x1B4 / Littleu32language
0x1F4 / Littleu32message_type
0x234 / Littleu32channel_id
0x274 / Littleu32time
0x2B- / -CStringdescription