CMSG_TOGGLE_PVP

Client Version 1, Client Version 2, Client Version 3

vmangos: this opcode can be used in two ways: Either set explicit new status or toggle old status

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/pvp/cmsg_toggle_pvp.wowm:4.

cmsg CMSG_TOGGLE_PVP = 0x0253 {
    optional set {
        Bool enable_pvp;
    }
}

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

Optionally the following fields can be present. This can only be detected by looking at the size of the message.

OffsetSize / EndiannessTypeNameComment
0x061 / -Boolenable_pvp