🧪 test(gvg): 添加gvg激战期debug接口

This commit is contained in:
luying
2023-03-06 20:22:06 +08:00
parent 10df130ae5
commit 457baa6d08
4 changed files with 115 additions and 4 deletions

View File

@@ -112,6 +112,10 @@ export function guild(session: Session, msg: any, app: Application, cb: (err: Er
'guild.gvgBattleHandler.enterCity',
'guild.gvgBattleHandler.leaveCity',
'guild.gvgBattleHandler.getAreaOfMyTeam',
'guild.gvgBattleHandler.debugAddRobots',
'guild.gvgBattleHandler.debugMoveRobots',
'guild.gvgBattleHandler.debugStopMoveRobot',
'guild.gvgBattleHandler.debugAttacks',
].indexOf(arg.route) !== -1) {
if (arg.body.cityId) {
needDispatch = true;