From bfbd039d087e5063f802bdcece597b8e0f6762ab Mon Sep 17 00:00:00 2001 From: chenxi Date: Thu, 4 May 2023 14:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/game.lua | 65 ------------------------------------------------ 1 file changed, 65 deletions(-) diff --git a/lua/app/game.lua b/lua/app/game.lua index 8d612628..2625711b 100644 --- a/lua/app/game.lua +++ b/lua/app/game.lua @@ -399,71 +399,6 @@ if NOT_PUBLISH then Logger.printTable(map) end end - - -- if Input.GetKeyDown(KeyCode.P) then - -- ModuleManager.ChapterManager:showBattleFailUI(nil, true) - -- end - -- if Input.GetKeyDown(KeyCode.G) then - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.DUNGEON_GOLD, {id = 1, level = 1}, function() - -- UIManager:closeAllUI() - -- ModuleManager.MaincityManager:showMainCityUI() - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.STAGE) - -- end) - -- end - -- if Input.GetKeyDown(KeyCode.H) then - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.DUNGEON_GEM, {id = 2, level = 1}, function() - -- UIManager:closeAllUI() - -- ModuleManager.MaincityManager:showMainCityUI() - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.STAGE) - -- end) - -- end - -- if Input.GetKeyDown(KeyCode.J) then - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.DUNGEON_MITHRIL, {id = 3, level = 1}, function() - -- UIManager:closeAllUI() - -- ModuleManager.MaincityManager:showMainCityUI() - -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.STAGE) - -- end) - -- end - -- if Input.GetKeyDown(KeyCode.K) then - -- -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.DUNGEON_ARENA, {id = 4, level = 23}, function() - -- -- UIManager:closeAllUI() - -- -- ModuleManager.MaincityManager:showMainCityUI() - -- -- ModuleManager.BattleManager:playBattle(ModuleManager.BattleManager.BATTLE_TYPE.STAGE) - -- -- end) - - -- local resultParams = { - -- level = 24, - -- score = 600000, - -- lastRank = 1, - -- newRank = 2, - -- rewards = { - -- [1] = { - -- type = 2, - -- equip = { - -- level = 0, - -- id = 10201, - -- count = 1 - -- } - -- }, - -- } - -- } - -- ModuleManager.ArenaManager:showBattleResultUI(resultParams) - -- end - -- if Input.GetKeyDown(KeyCode.K) then - -- DataManager.ArenaData:refreshSelectLegacy() - -- ModuleManager.ArenaManager:showBattleSelectLegacyUI() - -- end - - -- if EDITOR_MODE then - -- if Input.GetKeyDown(KeyCode.N) and Input.GetKey(KeyCode.RightControl) then - -- EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.TRAIN_PASS_UP, {toId = 50}) -- 表现事件 - -- EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.CHANGE_MAIN_CITY_PAGE, {page = 0}) - -- end - -- if Input.GetKeyDown(KeyCode.M) and Input.GetKey(KeyCode.RightControl) then - -- EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.TRAIN_REBORN) -- 表现事件 - -- EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.CHANGE_MAIN_CITY_PAGE, {page = 0}) - -- end - -- end end Game._releaseOnApplicationFocus = Game.onApplicationFocus