sources/network/rconsession.h

changeset 15
33da84af4bba
parent 14
33b8f428bacb
child 17
50341dec533e
--- a/sources/network/rconsession.h	Sat Dec 13 07:36:00 2014 +0200
+++ b/sources/network/rconsession.h	Sun Dec 14 17:53:24 2014 +0200
@@ -103,7 +103,7 @@
 	METHOD tick() -> void;
 	METHOD bump_last_ping() -> void;
 
-	static METHOD all_sessions() -> const Vector<SharedPointer<RCONSession>>&;
+	static METHOD get_session() -> RCONSession*;
 
 private:
 	RCONSessionState m_state;
@@ -115,5 +115,3 @@
 	int m_serverProtocol;
 	String m_hostname;
 };
-
-using RCONSessionPointer = SharedPointer<RCONSession>;

mercurial