QTfrontend/newnetclient.cpp
changeset 1462 d3323637da1f
parent 1427 b510f7a74ef6
child 1471 b5295ec49e94
equal deleted inserted replaced
1461:87e5a6c3882c 1462:d3323637da1f
   223 		m_game_connected = true;
   223 		m_game_connected = true;
   224 		emit Connected();
   224 		emit Connected();
   225 		return;
   225 		return;
   226 	}
   226 	}
   227 
   227 
       
   228 	if (lst[0] == "PING") {
       
   229 		RawSendNet(QString("PONG"));
       
   230 		return;
       
   231 	}
       
   232 
   228 	if (lst[0] == "ROOMS") {
   233 	if (lst[0] == "ROOMS") {
   229 		QStringList tmp = lst;
   234 		QStringList tmp = lst;
   230 		tmp.removeFirst();
   235 		tmp.removeFirst();
   231 		emit roomsList(tmp);
   236 		emit roomsList(tmp);
   232 		return;
   237 		return;