From 6d1aef5ba39a7b16e8de7d5f25a6ecf53c97e71f Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 24 Sep 2017 20:58:06 +0500 Subject: 2017-09-24 --- src/Network.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Network.hpp') 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 ReceivePacket(ConnectionState state = Play); - void SendPacket(Packet &packet); + std::shared_ptr ReceivePacket(ConnectionState state = Play, bool useCompression = false); + void SendPacket(Packet &packet, int compressionThreshold = -1); std::shared_ptr ParsePacketPlay(PacketNamePlayCB id); }; \ No newline at end of file -- cgit v1.2.3