| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- local BattleLogic = require("battle.BattleLogic")
- local BreakThroughTheme = require("battle.BreakThroughTheme")
- function CG_BATTLE_QUERY(human)
- --print("[CG_BATTLE_QUERY] 战役主界面查询开始")
- BattleLogic.query(human)
- --print("[CG_BATTLE_QUERY] 战役主界面查询结束")
- end
- function CG_BATTLE_HANG_GET(human)
- BattleLogic.hangGet(human)
- end
- function CG_BATTLE_NODE_SET(human, msg)
- BattleLogic.nodeSet(human, msg.battleID)
- end
- function CG_BATTLE_NODE_DETAIL_QUERY(human, msg)
- BattleLogic.nodeDetailQuery(human, msg.battleID)
- end
- function CG_BATTLE_HANG_FIGHT(human,msg)
- BattleLogic.hangFightQuery(human, msg.mapID)
- end
- function CG_BATTLE_MOPUP_QUERY(human)
- BattleLogic.mopupQuery(human)
- end
- function CG_BATTLE_MOPUP_FIGHT(human)
- BattleLogic.mopupFight(human)
- end
- function CG_BATTLE_TONGGUAN_REWARD_GET(human,msg)
- BattleLogic.getTongGuanReward(human,msg.index)
- end
- function CG_BATTLE_SHARK_QUERY(human,msg)
- BattleLogic.battleSharkQuery(human,msg.battleID)
- end
- function CG_BATTLE_WORLD_MAP_ROLELIST_QUERY(human,msg)
- BattleLogic.worldMapRoleListQuery(human,msg.worldMapId)
- end
- function CG_BATTLE_HANG_QUERY(human)
- BattleLogic.onHookQuery(human)
- end
- function CG_BATTLE_NODE_QUERY(human,msg)
- BattleLogic.battleNodeQuery(human,msg.mapID)
- end
- function CG_BATTLE_WORLD_MAP_QUERY(human)
- BattleLogic.battleWorldMapQuery(human)
- end
- function CG_BATTLE_MAP_DROPITEMS_LIST(human)
- BattleLogic.sendMapDroItemsList(human)
- end
- function CG_BATTLE_MAP_DROPITEMS_DETAIL(human, msg)
- BattleLogic.sendMapDroItemsDetail(human, msg.mapID)
- end
- function CG_BATTLE_CHAPTER_REWARD(human, msg)
- BattleLogic.battleChapterReward(human, msg.mapID)
- end
- function CG_ELITE_SELECT(human,msg)
- --print("1:CG_ELITE_SELECT")
- BattleLogic.CG_ELITE_SELECT(human,msg.index)
- --print("2:CG_ELITE_SELECT")
- end
- function CG_ELITE_OPEN(human)
- --print("[CG_ELITE_OPEN] 开始查询当前难度")
- BattleLogic.CG_ELITE_OPEN(human)
- --print("2:CG_ELITE_OPEN")
- end
- function CG_BATTLE_QUERY_ALL(human,msg)
- -- print("1:CG_BATTLE_QUERY_ALL")
- BattleLogic.CG_BATTLE_QUERY_ALL(human,msg.index,msg.curIndex)
- --print("2:CG_BATTLE_QUERY_ALL")
- end
- function CG_BATTLE_TONGGUAN_REWARD_GET_COPY(human,msg)
- BattleLogic.CG_BATTLE_TONGGUAN_REWARD_GET_COPY(human,msg.index)
- end
- --获得小游戏奖励
- function CG_BATTLE_GETGAMEREWARD(human,msg)
- BattleLogic.GetGameReward(human,msg.indexStr)
- end
- ---------------------------------------------------肉鸽玩法---------------------------------------------------
- function CG_ISNEEDSELECTATTR(human,msg)
- BattleLogic.QueryDiffBattleUnSelectAttr(human)
- end
- function CG_GETCHOOSEATTR_INFO(human,msg)
- BattleLogic.GetNowBattleModeUnSelectAttr(human)
- end
- function CG_GETALLATTR_INFO(human,msg)
- BattleLogic.GetNowBattleModeAllAttr(human)
- end
- function CG_CHOOSE_ATTR(human,msg)
- BattleLogic.ChooseAttr(human, msg.idx)
- end
- function CG_REFRESH_ATTR(human,msg)
- BattleLogic.RefreshAttr(human, msg.type, msg.id)
- end
- ------------------------------------------多队伍战斗------------------------------------------
- function CG_BATTLE_TEAM_COUNT(human,msg)
- BattleLogic.QueryLevelTeamCnt(human)
- end
- ------------------------------闯关主题-----------------------------------------------------
- function CG_BREATHROUGHTHEME_LINEUP_QUERY(human,msg)
- BreakThroughTheme.BreakThrough_Lineup_Query(human)
- end
- function CG_BREATHROUGHTHEME_BREAKTHROUGHREWARD_QUERY(human,msg)
- BreakThroughTheme.BreakThrough_BreakThroughReward_Query(human)
- end
- function CG_BREATHROUGHTHEME_ADVANCEDREWARD_QUERY(human,msg)
- BreakThroughTheme.BreakThrough_AdvancedReward_Query(human)
- end
- function CG_BREATHROUGHTHEME_GET_REWARD(human,msg)
- BreakThroughTheme.BreakThrough_GetReward(human, msg.rewardType)
- end
- function CG_BREATHROUGHTHEME_SHOW_TIPS(human,msg)
- BreakThroughTheme.BreakThrough_UpdateShowTipsState(human, msg.rewardType)
- end
|