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;
}
}
Header
CMSG have a header of 6 bytes.
CMSG Header
| Offset | Size / Endianness | Type | Name | Description |
|---|---|---|---|---|
| 0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
| 0x02 | 4 / Little | uint32 | opcode | Opcode 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.
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x06 | 1 / - | Bool | enable_pvp |