Template:CMSG Header
Jump to navigation
Jump to search
Add a table with the header for CMSG World Packets.
No parameters, for the World Packet page.
{{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. |
With the opcode parameter, for individual packet pages.
{{CMSG_Header|opcode=0x20}}
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. |
Or with the size parameter, for individual packet pages.
{{CMSG_Header|size=100}}
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x0 | 2 / Big | uint16 | size | Size of the packet including the opcode field. Always 100. |
0x2 | 4 / Little | uint32 | opcode | Opcode for the packet. Determines the structure of the body. |