| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- local BattleLogic = require("battle.BattleLogic")
- function CG_BATTLE_QUERY(human)
- BattleLogic.query(human)
- end
- function CG_BATTLE_HANG_GET(human,msg)
- BattleLogic.hangGet(human,msg.diamond == 1)
- 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)
- --print("1:CG_BATTLE_TONGGUAN_REWARD_GET_COPY")
- BattleLogic.CG_BATTLE_TONGGUAN_REWARD_GET_COPY(human,msg.index,msg.id)
- --print("2:CG_BATTLE_TONGGUAN_REWARD_GET_COPY")
- end
|