diff options
Diffstat (limited to 'Minecraft.World/GetInfoPacket.h')
| -rw-r--r-- | Minecraft.World/GetInfoPacket.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Minecraft.World/GetInfoPacket.h b/Minecraft.World/GetInfoPacket.h new file mode 100644 index 00000000..90688f3e --- /dev/null +++ b/Minecraft.World/GetInfoPacket.h @@ -0,0 +1,16 @@ +#pragma once + +#include "Packet.h" + +class GetInfoPacket : public Packet, public enable_shared_from_this<GetInfoPacket> +{ +public: + virtual void read(DataInputStream *dis); + virtual void write(DataOutputStream *dos); + virtual void handle(PacketListener *listener); + virtual int getEstimatedSize(); + +public: + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new GetInfoPacket()); } + virtual int getId() { return 254; } +};
\ No newline at end of file |
