// 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); }
// 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); }