sources/network/rconsession.h

branch
experimental
changeset 38
80b26bc9707a
parent 31
b5b5a6a96d91
child 39
052393cf9016
--- a/sources/network/rconsession.h	Mon Dec 15 09:12:50 2014 +0200
+++ b/sources/network/rconsession.h	Mon Dec 15 10:31:52 2014 +0200
@@ -37,7 +37,7 @@
 //
 enum
 {
-	RCON_PROTOCOL_VERSION = 3
+	RCON_PROTOCOL_VERSION = 4
 };
 
 // -------------------------------------------------------------------------------------------------
@@ -51,6 +51,7 @@
 	SVRC_INVALIDPASSWORD,
 	SVRC_MESSAGE,
 	SVRC_UPDATE,
+	SVRC_TABCOMPLETE,
 };
 
 // -------------------------------------------------------------------------------------------------
@@ -62,6 +63,7 @@
 	CLRC_COMMAND,
 	CLRC_PONG,
 	CLRC_DISCONNECT,
+	CLRC_TABCOMPLETE,
 };
 
 // -------------------------------------------------------------------------------------------------
@@ -107,6 +109,7 @@
 	METHOD state() const -> RCONSessionState;
 	METHOD level() const -> const String&;
 	METHOD is_active() const -> bool;
+	METHOD request_tab_complete (const String& part) -> void;
 
 	static METHOD new_session() -> RCONSession*;
 	static METHOD get_session() -> RCONSession*;
@@ -124,4 +127,5 @@
 	String m_hostname;
 	int m_numAdmins;
 	String m_level;
+	String m_lastTabComplete;
 };

mercurial