Template:CMSG Header: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Attempt to add opcode variable)
m (Attempt to fix recursion)
Line 12: Line 12:
|-
|-
|}</includeonly>
|}</includeonly>
 
<noinclude>
Add a table with the header for CMSG [[World Packet]]s.
Add a table with the header for CMSG [[World Packet]]s.


Line 18: Line 18:


{{CMSG_Header|opcode=0x20}}
{{CMSG_Header|opcode=0x20}}
</noinclude>

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.
Always {{{opcode}}}


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.
Always 0x20