diff options
Diffstat (limited to 'src/Packet.hpp')
-rw-r--r-- | src/Packet.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Packet.hpp b/src/Packet.hpp index e3d09fd..d1d80e6 100644 --- a/src/Packet.hpp +++ b/src/Packet.hpp @@ -819,4 +819,22 @@ struct PacketTimeUpdate : Packet { long long WorldAge; long long TimeOfDay; +}; + +struct PacketUnloadChunk : Packet { + void ToStream(StreamOutput *stream) override { + + } + + void FromStream(StreamInput *stream) override { + ChunkX = stream->ReadInt(); + ChunkZ = stream->ReadInt(); + } + + int GetPacketId() override { + return PacketNamePlayCB::UnloadChunk; + } + + int ChunkX; + int ChunkZ; };
\ No newline at end of file |