Template:CMSG Header: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="wikitable" |+ CMSG Header ! Offset ! Size / Endianness ! Type ! Name ! Description |- | 0x0 || 2 / Big || uint16 || size || Size of the packet including the opcode f...") |
m (Attempt to add opcode variable) |
||
Line 1: | Line 1: | ||
{| class="wikitable" | <includeonly>{{#vardefine:opcode|{{{opcode}}}}}{| class="wikitable" | ||
|+ CMSG Header | |+ CMSG Header | ||
! Offset | ! Offset | ||
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. | | 0x2 || 4 / Little || uint32 || opcode || [[Opcodes|Opcode]] for the packet.<br>Determines the structure of the body.<br>{{#if:{{#var:opcode}}|Always {{{opcode}}}}} | ||
|- | |- | ||
|} | |}</includeonly> | ||
Add a table with the header for CMSG [[World Packet]]s. | |||
{{CMSG_Header}} | |||
{{CMSG_Header|opcode=0x20}} |
Revision as of 20:54, 23 May 2021
Add a table with the header for CMSG World Packets.
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}}} |
Add a table with the header for CMSG World Packets.
Template loop detected: Template:CMSG Header
Template loop detected: Template: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 |
Add a table with the header for CMSG World Packets.
Template loop detected: Template:CMSG Header
Template loop detected: Template:CMSG Header