Ejemplo n.º 1
0
        private void StartTournamentMatch(Kv kv)
        {
            if (Ap.IsGameInProgress)
            {
                return;
            }

            DataSet ds = UData.LoadDataSet(kv.Get("GameData"));

            MainOnline.ShowMainOnline(ds, false);
        }
Ejemplo n.º 2
0
        bool OpenBestBiltzGame()
        {
            bool    isGameRunning = false;
            DataSet dsPlayer      = SocketClient.HighestRankingPlayerGame();

            if (dsPlayer.Tables.Count > 0)
            {
                if (dsPlayer.Tables[0].Rows[0]["GameID"] != System.DBNull.Value)
                {
                    int GameID = UData.ToInt32(dsPlayer.Tables[0].Rows[0]["GameID"]);
                    SocketClient.AddAudience(GameID);
                    MainOnline.ShowMainOnline(GameID);
                    isGameRunning = true;
                }
            }
            return(isGameRunning);
        }
Ejemplo n.º 3
0
        private bool CheckLastInprogressGame()
        {
            DataSet ds = SocketClient.GetLastInprogressGame(Ap.CurrentUserID);

            return(MainOnline.ShowMainOnline(ds, true));
        }