Handler.lua 531 B

12345678910111213141516171819202122232425
  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