// executes when a match is about to start
 public void joinPreGameRoom(int RoomID)
 {
     stopListening();
     ctrl.send(new Models.ClientMessage("LEAVELOBBY", new List <string>()
     {
         "PreGameRoom"
     }));
     parent.loadPreGameRoom(RoomID);
 }
コード例 #2
0
 // executes when a match is about to start
 public void joinPreGameRoom(int RoomID, string OppNickName)
 {
     stopListening();
     ctrl.send(new Models.ClientMessage("LEAVELOBBY", new List <string>()
     {
         "PreGameRoom"
     }));
     parent.loadPreGameRoom(RoomID, ctrl.userData.NickName, OppNickName);
 }