sources/network/rconsession.h

changeset 14
33b8f428bacb
parent 12
8d0d1b368de0
child 15
33da84af4bba
--- a/sources/network/rconsession.h	Sat Dec 13 04:50:33 2014 +0200
+++ b/sources/network/rconsession.h	Sat Dec 13 07:36:00 2014 +0200
@@ -103,6 +103,8 @@
 	METHOD tick() -> void;
 	METHOD bump_last_ping() -> void;
 
+	static METHOD all_sessions() -> const Vector<SharedPointer<RCONSession>>&;
+
 private:
 	RCONSessionState m_state;
 	IPAddress m_address;
@@ -113,3 +115,5 @@
 	int m_serverProtocol;
 	String m_hostname;
 };
+
+using RCONSessionPointer = SharedPointer<RCONSession>;

mercurial