public void DoRoomSearchLogic() { if (roomIndex < rooms.Count) { UpdateStatus("Getting room Details (" + rooms[roomIndex] + ")"); serverConnection.GetLiveRoomInfo(rooms[roomIndex]); } else { UpdateStatus("Creating Room..."); serverConnection.CreateTurnRoom(DefinedVariables.userName + " Room", DefinedVariables.userName, 2, matchRoomData, 30); } }