Support automatic pickling of network packet data
magneticflux- opened this issue · 2 comments
µPickle is one possibility.
This would make it easy to send packets without having to manually read/write to the byte buffer.
This would also be useful in the Kotlin language module, and could even be adapted to the core network API.
It looks like Crochet implements something similar to what exists in TheOneProbe already, which is a 'handler' implementation and a serialization interface IPacket
.
Some other network implementations:
- CC-Tweaked (A full 'handler' implementation)
- InfraRedstone (Working with raw buffers)
- JustSleep (Working with raw buffers)