Handler.lua 600 B

12345678910111213141516171819202122
  1. local DrawCardLogic = require("drawCard.DrawCardLogic")
  2. local RecommendLineup = require("drawCard.RecommendLineup")
  3. function CG_DRAWCARD_QUERY(human,msg)
  4. DrawCardLogic.query(human)
  5. end
  6. function CG_DRAWCARD_OP(human,msg)
  7. DrawCardLogic.op(human,msg.id,msg.op, msg.skip,msg.isAct)
  8. end
  9. function CG_DRAWCARD_SKIP_SET(human, msg)
  10. DrawCardLogic.setSkip(human, nil, msg.skip)
  11. end
  12. function CG_DRAWCARD_GET_RECOMMEND_LINEUP(human, msg)
  13. RecommendLineup.GetRecommendLineUp(human)
  14. end
  15. function CG_DRAWCARD_SKIP_HEROSHOW(human, msg)
  16. DrawCardLogic.SetHeroSkip(human, msg.bOperate)
  17. end