/// <summary> /// 163 - "Bc" /// </summary> public void CREATE_GAME() { arcadeGameLobby pLobby = ObjectTree.Game.Arcade.getLobby(Session.roomID); if (pLobby != null) { if (performTicketCheck() == true) { } } }
/// <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(); }
/// <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(); }
/// <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) { } } }
/// <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(); }