コード例 #1
0
        public void StartLimited(Player player, Guid[] packs)
        {
            Program.TracePlayerEvent(player, "{0} starts a limited game.", player);
            var wnd = new Play.Dialogs.PickCardsDialog();

            WindowManager.PlayWindow.ShowBackstage(wnd);
            wnd.OpenPacks(packs);
        }
コード例 #2
0
 public void StartLimited(Player player, Guid[] packs)
 {
     Program.GameMess.System("{0} starts a limited game.", player);
     if (Player.LocalPlayer.Spectator == false)
     {
         var wnd = new Play.Dialogs.PickCardsDialog();
         WindowManager.PlayWindow.ShowBackstage(wnd);
         wnd.OpenPacks(packs);
     }
 }
コード例 #3
0
ファイル: ClientHandler.cs プロジェクト: Kamalisk/OCTGN
 public void StartLimited(Player player, Guid[] packs)
 {
     Program.TracePlayerEvent(player, "{0} starts a limited game.", player);
     var wnd = new Play.Dialogs.PickCardsDialog();
     WindowManager.PlayWindow.ShowBackstage(wnd);
     wnd.OpenPacks(packs);
 }
コード例 #4
0
 public void StartLimited(Player player, Guid[] packs)
 {
     Program.TracePlayerEvent(player, "{0} starts a limited game.", player);
     var wnd = new Play.Dialogs.PickCardsDialog();
     wnd.OpenPacks(packs);
     ((PlayWindow)Application.Current.MainWindow).ShowBackstage(wnd);
 }