Handler.lua 587 B

12345678910111213141516171819202122
  1. local BillboardLogic = require("billboard.BillboardLogic")
  2. local BillboardAim = require("billboard.BillboardAim")
  3. function CG_BILLBOARD_MAINLIST(human)
  4. BillboardLogic.sendMainList(human)
  5. end
  6. function CG_BILLBOARD_QUERY(human, msg)
  7. BillboardLogic.sendQuery(human, msg.boardType)
  8. end
  9. function CG_BILLBOARD_AIM_LIST(human, msg)
  10. BillboardAim.sendAimList(human, msg.boardType)
  11. end
  12. function CG_BILLBOARD_AIM_DETAIL(human, msg)
  13. BillboardAim.sendAimDetial(human, msg.id)
  14. end
  15. function CG_BILLBOARD_AIM_GET(human, msg)
  16. BillboardAim.getAimReward(human, msg.nType)
  17. end