예제 #1
0
        /// <summary>
        /// 163 - "Bc"
        /// </summary>
        public void CREATE_GAME()
        {
            arcadeGameLobby pLobby = ObjectTree.Game.Arcade.getLobby(Session.roomID);

            if (pLobby != null)
            {
                if (performTicketCheck() == true)
                {
                }
            }
        }
예제 #2
0
        /// <summary>
        /// 162 - "Bb"
        /// </summary>
        public void GET_CREATE_GAME_INFO()
        {
            Response.Initialize(171); // "Bk"

            arcadeGameLobby pLobby = ObjectTree.Game.Arcade.getLobby(Session.roomID);

            if (pLobby != null)
            {
                // TODO: append info keys
            }

            sendResponse();
        }
예제 #3
0
        /// <summary>
        /// 159 - "B_"
        /// </summary>
        public void GET_GAME_LIST()
        {
            Response.Initialize(232); // "Ch"

            arcadeGameLobby pLobby = ObjectTree.Game.Arcade.getLobby(Session.roomID);

            if (pLobby != null)
            {
                Response.Append(pLobby.buildGameIndex());
            }

            sendResponse();
        }
예제 #4
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)
                {
                }
            }
        }
예제 #5
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();
        }