144 |
145 |
145 case SVRC_LOGGEDIN: |
146 case SVRC_LOGGEDIN: |
146 print ("Login successful!\n"); |
147 print ("Login successful!\n"); |
147 m_serverProtocol = packet.read_byte(); |
148 m_serverProtocol = packet.read_byte(); |
148 m_hostname = packet.read_string(); |
149 m_hostname = packet.read_string(); |
|
150 Interface::set_title (m_hostname); |
149 m_state = RCON_CONNECTED; |
151 m_state = RCON_CONNECTED; |
150 |
152 |
151 for (int i = packet.read_byte(); i > 0; --i) |
153 for (int i = packet.read_byte(); i > 0; --i) |
152 process_server_updates (packet); |
154 process_server_updates (packet); |
153 |
155 |