Handler.lua 879 B

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