summaryrefslogtreecommitdiffstats
path: root/src/NetworkClient.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-06-27 05:46:22 +0200
committerGitHub <noreply@github.com>2021-06-27 05:46:22 +0200
commitdd1323d398733f0f4a3b285b396ed3a47fb8eb96 (patch)
tree3064b292efd41a36b5655fd4d07ec42053463ffb /src/NetworkClient.hpp
parentMerge pull request #60 from LaG1924/fix/memleak (diff)
parentFixed entity bug found by @uis246 (diff)
downloadAltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.gz
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.bz2
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.lz
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.xz
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.zst
AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.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
+};