sources/network/rconsession.h

branch
protocol5
changeset 172
0b0bc8045d28
parent 171
d0fba0d7ad03
--- a/sources/network/rconsession.h	Wed Jan 27 12:34:26 2021 +0200
+++ b/sources/network/rconsession.h	Wed Jan 27 12:34:56 2021 +0200
@@ -32,6 +32,7 @@
 #include "ipaddress.h"
 #include "udpsocket.h"
 #include "bytestream.h"
+#include "packetqueue.h"
 BEGIN_ZFC_NAMESPACE
 
 // -------------------------------------------------------------------------------------------------
@@ -72,6 +73,7 @@
 	CLRC_DISCONNECT,
 	CLRC_TABCOMPLETE,
 	CLRC_WATCHCVAR,
+	CLRC_MISSINGPACKET,
 };
 
 // -------------------------------------------------------------------------------------------------
@@ -127,6 +129,7 @@
 	RCONSessionState m_state;
 	IPAddress m_address;
 	UDPSocket m_socket;
+	PacketQueue m_packetQueue;
 	time_t m_lastPing;
 	String m_password;
 	String m_salt;
@@ -135,6 +138,7 @@
 	int m_adminCount;
 	String m_level;
 	String m_lastTabComplete;
+	time_t m_lastMissingPacketRequest;
 	class Interface* m_interface;
 };
 

mercurial