public void onGetAllRoomsDone(AllRoomsEvent eventObj) { if (eventObj.getResult() == 0) { string[] roomIds = eventObj.getRoomIds(); if (roomIds == null) { RoomSelectionMenu.RoomCount = 0; RoomSelectionMenu.Activate(); } else { RoomSelectionMenu.ActiveRooms = new List <LiveRoomInfoEvent>(); foreach (string roomId in roomIds) { WarpClient.GetInstance().GetLiveRoomInfo(roomId); } RoomSelectionMenu.RoomCount = roomIds.Length; } } else { RoomSelectionMenu.RoomCount = 0; RoomSelectionMenu.Activate(); } Log("onGetAllRoomsDone : " + eventObj.getResult()); }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { Log ("onGetAllRoomsDone : " + eventObj.getResult()); for(int i=0; i< eventObj.getRoomIds().Length; ++i) { Log ("Room ID : " + eventObj.getRoomIds()[i]); } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { //Log ("onGetAllRoomsDone : " + eventObj.getResult()); for (int i = 0; i < eventObj.getRoomIds().Length; ++i) { //Log ("Room ID : " + eventObj.getRoomIds()[i]); } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { string[] roomIDs = eventObj.getRoomIds(); foreach (string s in roomIDs) { Log("id : " + s); } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { string[] roomIDs = eventObj.getRoomIds(); foreach (string s in roomIDs) { Log("id : " + s); WarpClient.GetInstance().JoinRoom(s); } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { Log("ongetallroomsdone : " + eventObj.getResult()); if (eventObj.getResult() == WarpResponseResultCode.SUCCESS) { // if (eventObj.getRoomIds ().Length > 0) { // foreach (string roomId in eventObj.getRoomIds()) { // WarpClient.GetInstance ().GetLiveRoomInfo (roomId); // } // //WarpClient.GetInstance().SubscribeRoom("1170889653"); // } } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { if (eventObj.getResult() == 0) { Debug.Log("onGetAllRoomsDone : " + eventObj.getRoomIds().Length); if (eventObj.getRoomIds().Length > 0) { foreach (string roomId in eventObj.getRoomIds()) { // WarpClient.GetInstance ().GetLiveRoomInfo (roomId); } //WarpClient.GetInstance().SubscribeRoom("1170889653"); } } }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { Log ("onGetAllRoomsDone : " + eventObj.getResult()); }
////////////////////////////////////// Zone Request Listener \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ public void onGetAllRoomsDone(AllRoomsEvent eventObj) { throw new NotImplementedException(); }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { Debug.Log ("onGetAllRoomsDone : " + eventObj.getResult()); string[] rooms = eventObj.getRoomIds (); string strRooms=""; if (rooms != null && rooms.Length != 0) { foreach (string room in rooms) { Debug.Log ("room " + room); strRooms+=room+","; } } appWarpResponse+="onGetAllRoomsDone Rooms "+strRooms+"\n"; }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { int _length = eventObj.getRoomIds().Length; _page.showResult("rooms are " + _length); string[] Str = new string[_length]; //public byte eventObj.getResult(); //public String[] s = eventObj.getRoomIds(); for (int j = 0; j < _length; j++) { Str[j] = eventObj.getRoomIds()[j]; //Deployment.Current.Dispatcher.BeginInvoke(() => //{ // HyperlinkButton b = new HyperlinkButton(); // b.Content = Str[j]; // b.Click += new RoutedEventHandler(_page.b_Click); // _page.list.Add(b); //}); //HyperlinkButton b = new HyperlinkButton(); //b.Content = Str[j]; //b.Click += new RoutedEventHandler(_page.b_Click); //RoomsListPage.list.Add(b); } Deployment.Current.Dispatcher.BeginInvoke(() => { _page.createRoomsList(Str); //викликаємо процедуру створення списку кімеат }); //for (int i = 0; i < _length; i++) //{ // //Str[i] = eventObj.getRoomIds()[i]; // Deployment.Current.Dispatcher.BeginInvoke(() => // { // HyperlinkButton b = new HyperlinkButton(); // b.Content = Str[i]; // b.Click += new RoutedEventHandler(_page.b_Click); // list.Add(b); // }); // //event.getRoomIds()[i] //} //foreach (string s in Str) //{ // //WarpClient.GetInstance().GetLiveRoomInfo(s); // Deployment.Current.Dispatcher.BeginInvoke(() => // { // HyperlinkButton b = new HyperlinkButton(); // b.Content = s; // b.Click += new RoutedEventHandler(_page.b_Click); // list.Add(b); // }); //} //Deployment.Current.Dispatcher.BeginInvoke(() => //{ // _page.listBox1.ItemsSource = list; //}); }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { string[] roomIds = eventObj.getRoomIds(); Player p = Listener as Player; }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { Log("onGetAllRoomsDone : " + eventObj.getResult()); }
/// Invoked when a response for GetAllRooms request is receieved. /// <param name="eventObj"></param> public void onGetAllRoomsDone(AllRoomsEvent eventObj) { ; }
public void onGetAllRoomsDone(AllRoomsEvent eventObj) { //Twist.AppController.showToast ("onGetAllRoomsDone"); }