IC:Protocol: Difference between revisions
Jump to navigation
Jump to search
imported>MAD (Welp.) |
imported>TkTech mNo edit summary |
||
| Line 1: | Line 1: | ||
The "InfiniCraft" (IC) [[IC:Client_Proxy|Client Proxy]] <-> [[IC:Node|Node]] Protocol Draft. | The "InfiniCraft" (IC) [[IC:Client_Proxy|Client Proxy]] <-> [[IC:Node|Node]] Protocol Draft. | ||
== Data Types == | |||
All types are the same as Java for performance reasons, with the exception of unsigned bytes and unsigned ints. | |||
== Header == | |||
All packets begin with the same header, intended to ease creating flexible tools and future-compatibility. | |||
* ID [unsigned byte] - denotes the type of packet being recieved | |||
* FLAGS [unsigned byte] - protocol and packet features | |||
* LENGTH [unsigned int] - total length of the packet (for skip-ahead) | |||
Revision as of 01:18, 23 January 2011
The "InfiniCraft" (IC) Client Proxy <-> Node Protocol Draft.
Data Types
All types are the same as Java for performance reasons, with the exception of unsigned bytes and unsigned ints.
Header
All packets begin with the same header, intended to ease creating flexible tools and future-compatibility.
- ID [unsigned byte] - denotes the type of packet being recieved
- FLAGS [unsigned byte] - protocol and packet features
- LENGTH [unsigned int] - total length of the packet (for skip-ahead)