Пример #1
0
        /// <summary>
        /// 172 - "Bl"
        /// </summary>
        public void PLAY_AGAIN()
        {
            arcadeGameLobby lobby = Engine.Game.Arcade.getLobby(Session.roomID);

            if (lobby == null)
            {
                return;
            }

            arcadeGame pGame = lobby.getGame(mGameID);

            if (pGame != null && pGame.State == arcadeGame.arcadeGameState.Ended)
            {
                if (performTicketCheck() == true)
                {
                }
            }
        }
Пример #2
0
        /// <summary>
        /// 160 - "B`"
        /// </summary>
        public void START_OBSERVING_GAME()
        {
            int             gameID = Request.getNextWiredParameter();
            arcadeGameLobby lobby  = Engine.Game.Arcade.getLobby(Session.roomID);

            if (lobby == null)
            {
                return;
            }

            arcadeGame pGame = lobby.getGame(gameID);

            Response.Initialize(233); // "Ci"
            if (pGame != null)
            {
                mGameID = gameID;
                // TODO: ADD

                Response.Append(pGame.ToString());
            }
            sendResponse();
        }