diff -r f7221183a994 -r e651d02802c0 sources/network/rconsession.h --- a/sources/network/rconsession.h Sun Dec 14 20:47:44 2014 +0200 +++ b/sources/network/rconsession.h Sun Dec 14 23:21:38 2014 +0200 @@ -88,7 +88,6 @@ class RCONSession { public: - RCONSession(); ~RCONSession(); METHOD connect (IPAddress address) -> void; @@ -103,10 +102,14 @@ METHOD tick() -> void; METHOD bump_last_ping() -> void; METHOD send_command (const String& message) -> bool; + METHOD state() const -> RCONSessionState; + static METHOD new_session() -> RCONSession*; static METHOD get_session() -> RCONSession*; private: + RCONSession(); + RCONSessionState m_state; IPAddress m_address; UDPSocket m_socket;