mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-25 15:21:30 +11:00
7af119da72
## Description Combines the `EncodePacket` and `DecodePacket` trait into a single `Packet` trait. This makes `valence_protocol` simpler and easier to use. This can be done because all packets were made to be bidirectional in #253. Additionally, a `packet_id` method has been added. This should help with #238. ## Test Plan Steps: 1. Run examples, packet_inspector, etc. Behavior should be the same. |
||
---|---|---|
.. | ||
benches | ||
build | ||
src | ||
Cargo.toml |