sources/network/rconsession.h

changeset 15
33da84af4bba
parent 14
33b8f428bacb
child 17
50341dec533e
equal deleted inserted replaced
14:33b8f428bacb 15:33da84af4bba
101 METHOD set_password (const String& password) -> void; 101 METHOD set_password (const String& password) -> void;
102 METHOD socket() -> UDPSocket*; 102 METHOD socket() -> UDPSocket*;
103 METHOD tick() -> void; 103 METHOD tick() -> void;
104 METHOD bump_last_ping() -> void; 104 METHOD bump_last_ping() -> void;
105 105
106 static METHOD all_sessions() -> const Vector<SharedPointer<RCONSession>>&; 106 static METHOD get_session() -> RCONSession*;
107 107
108 private: 108 private:
109 RCONSessionState m_state; 109 RCONSessionState m_state;
110 IPAddress m_address; 110 IPAddress m_address;
111 UDPSocket m_socket; 111 UDPSocket m_socket;
113 String m_password; 113 String m_password;
114 String m_salt; 114 String m_salt;
115 int m_serverProtocol; 115 int m_serverProtocol;
116 String m_hostname; 116 String m_hostname;
117 }; 117 };
118
119 using RCONSessionPointer = SharedPointer<RCONSession>;

mercurial