Handler.lua 733 B

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