summaryrefslogtreecommitdiffstats
path: root/src/NetworkClient.hpp
diff options
context:
space:
mode:
authorUIS <uis9936@gmail.com>2020-08-06 18:47:19 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-24 10:48:13 +0200
commitb16afa14fe7ce4f8f0d8706358830f3ec518ce61 (patch)
treeae417b7e8a13436751c34ea1a8f0f1b916278051 /src/NetworkClient.hpp
parentAdded CMakeLists.txt.user to .gitignore (diff)
downloadAltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar.gz
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar.bz2
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar.lz
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar.xz
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.tar.zst
AltCraft-b16afa14fe7ce4f8f0d8706358830f3ec518ce61.zip
Diffstat (limited to 'src/NetworkClient.hpp')
-rw-r--r--src/NetworkClient.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/NetworkClient.hpp b/src/NetworkClient.hpp
index f372468..bde5fdf 100644
--- a/src/NetworkClient.hpp
+++ b/src/NetworkClient.hpp
@@ -12,8 +12,6 @@ enum ConnectionState : unsigned char;
class NetworkClient {
std::unique_ptr<Network> network;
- std::queue <std::shared_ptr<Packet>> toSend;
- std::queue <std::shared_ptr<Packet>> toReceive;
ConnectionState state;
int compressionThreshold = -1;
std::chrono::steady_clock::time_point timeOfLastKeepAlivePacket;
@@ -23,4 +21,4 @@ class NetworkClient {
public:
NetworkClient(std::string address, unsigned short port, std::string username);
~NetworkClient();
-}; \ No newline at end of file
+};