Template:CMSG Header: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Attempt to fix recursion)
m (Attempt to solve opcode always being visible)
Line 9: Line 9:
| 0x0 || 2 / Big || uint16 || size || Size of the packet including the opcode field.
| 0x0 || 2 / Big || uint16 || size || Size of the packet including the opcode field.
|-
|-
| 0x2 || 4 / Little || uint32 || opcode || [[Opcodes|Opcode]] for the packet.<br>Determines the structure of the body.<br>{{#if:{{#var:opcode}}|Always {{{opcode}}}}}
| 0x2 || 4 / Little || uint32 || opcode || [[Opcodes|Opcode]] for the packet.<br>Determines the structure of the body.<br>{{#if:{{#var:opcode}}|Always {{{opcode}|}}}}
|-
|-
|}</includeonly>
|}</includeonly>

Revision as of 20:56, 23 May 2021


Add a table with the header for CMSG World Packets.

CMSG Header
Offset Size / Endianness Type Name Description
0x0 2 / Big uint16 size Size of the packet including the opcode field.
0x2 4 / Little uint32 opcode Opcode for the packet.
Determines the structure of the body.
{{#if:{{{opcode}}}|Always }


CMSG Header
Offset Size / Endianness Type Name Description
0x0 2 / Big uint16 size Size of the packet including the opcode field.
0x2 4 / Little uint32 opcode Opcode for the packet.
Determines the structure of the body.
{{#if:0x20|Always }