Handler.lua 934 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. local RoleSystemLogic = require("roleSystem.RoleSystemLogic")
  2. local RoleRealmLogic = require("roleSystem.RoleRealmLogic")
  3. local RoleStorageBox = require("roleSystem.RoleStorageBox")
  4. local RoleOpenPrize = require("roleSystem.RoleOpenPrize")
  5. function CG_ROLESYSTEM_QUERY(human, msg)
  6. end
  7. function CG_ROLESYSTEM_TOUCH(human, msg)
  8. RoleSystemLogic.touch(human, msg.id)
  9. end
  10. function CG_ROLESYSTEM_OPEN(human, msg)
  11. RoleSystemLogic.open(human, msg.id)
  12. end
  13. function CG_ROLE_REALM_QUERY(human, msg)
  14. RoleRealmLogic.query(human)
  15. end
  16. function CG_ROLE_REALM_UPGRADE(human, msg)
  17. RoleRealmLogic.realmUpgrade(human)
  18. end
  19. function CG_ROLESYSTEM_PRIZE_QUERY(human, msg)
  20. RoleOpenPrize.RoleSystem_QueryPrize(human)
  21. end
  22. function CG_ROLESYSTEM_PRIZE_GET(human, msg)
  23. RoleOpenPrize.RoleSystem_GetPrize(human)
  24. end
  25. function CG_ROLESTORAGEBOX_QUERY(human, msg)
  26. RoleStorageBox.Query(human)
  27. end