sources/network/rconsession.h

changeset 12
8d0d1b368de0
parent 10
3874575d924d
child 14
33b8f428bacb
equal deleted inserted replaced
11:cffa2777d917 12:8d0d1b368de0
92 ~RCONSession(); 92 ~RCONSession();
93 93
94 METHOD connect (IPAddress address) -> void; 94 METHOD connect (IPAddress address) -> void;
95 METHOD disconnect() -> void; 95 METHOD disconnect() -> void;
96 METHOD handle_packet (Bytestream& packet, const IPAddress& from) -> void; 96 METHOD handle_packet (Bytestream& packet, const IPAddress& from) -> void;
97 METHOD process_server_updates (Bytestream& packet) -> void;
97 METHOD send (const Bytestream& packet) -> void; 98 METHOD send (const Bytestream& packet) -> void;
98 METHOD send_hello() -> void; 99 METHOD send_hello() -> void;
99 METHOD send_password() -> void; 100 METHOD send_password() -> void;
100 METHOD set_password (const String& password) -> void; 101 METHOD set_password (const String& password) -> void;
101 METHOD socket() -> UDPSocket*; 102 METHOD socket() -> UDPSocket*;
107 IPAddress m_address; 108 IPAddress m_address;
108 UDPSocket m_socket; 109 UDPSocket m_socket;
109 time_t m_lastPing; 110 time_t m_lastPing;
110 String m_password; 111 String m_password;
111 String m_salt; 112 String m_salt;
113 int m_serverProtocol;
114 String m_hostname;
112 }; 115 };

mercurial