private void PlayTBD(int button) { Close?.Invoke(this, new EventArgs()); var lobby = TBDLobby.CreateLobby(selected.ID); LoLClient.QueueManager.JoinLobby(lobby); }
public TBDLobbyPage(TBDLobby lobby) { InitializeComponent(); this.lobby = lobby; LoadingGrid.Visibility = Visibility.Visible; lobby.Loaded += Lobby_Loaded; lobby.MemberJoined += Lobby_MemberJoined; //lobby.OnRemovedFromService += Lobby_RemovedFromService; lobby.CatchUp(); }