Template:CMSG Header: Difference between revisions
Jump to navigation
Jump to search
m (Attempt to solve opcode always being visible) |
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:57, 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}}} |
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 |