Ejemplo n.º 1
0
    private void Champselect_ChampSelectCompleted(object sender, EventArgs e) {
      if (Thread.CurrentThread != Dispatcher.Thread) { Dispatcher.MyInvoke(Champselect_ChampSelectCompleted, sender, e); return; }

      ShowLandingPage();

      champselect.ChampSelectCompleted -= Champselect_ChampSelectCompleted;
      champselect = null;
    }
Ejemplo n.º 2
0
    public void BeginChampionSelect(GameLobby game) {
      if (Thread.CurrentThread != Dispatcher.Thread) { Dispatcher.MyInvoke(BeginChampionSelect, game); return; }

      LoLClient.QueueManager.ShowPage(new InGamePage(true));
      champselect = new ChampSelectPage(game);

      champselect.ChampSelectCompleted += Champselect_ChampSelectCompleted;

      ContentFrame.Content = champselect;
      Session.Current.ChatManager.Status = ChatStatus.championSelect;
    }