diff options
Diffstat (limited to 'src/Network.hpp')
-rw-r--r-- | src/Network.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network.hpp b/src/Network.hpp index 6263e1b..f28f808 100644 --- a/src/Network.hpp +++ b/src/Network.hpp @@ -20,7 +20,7 @@ public: Network(std::string address, unsigned short port); ~Network(); - std::shared_ptr<Packet> ReceivePacket(ConnectionState state = Play); - void SendPacket(Packet &packet); + std::shared_ptr<Packet> ReceivePacket(ConnectionState state = Play, bool useCompression = false); + void SendPacket(Packet &packet, int compressionThreshold = -1); std::shared_ptr<Packet> ParsePacketPlay(PacketNamePlayCB id); };
\ No newline at end of file |