user.lua 409 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Descripttion:接口 - 玩家
  3. version:
  4. Author: Neo,Huang
  5. Date: 2022-07-05 17:32:01
  6. LastEditors: Neo,Huang
  7. LastEditTime: 2022-07-05 20:29:29
  8. --]]
  9. local code = require "code"
  10. local root = {}
  11. -- 请求个人信息
  12. function root:self_info(uid, msg)
  13. return code.OK
  14. end
  15. -- 触发请求个人信息
  16. function root:after_self_info(uid)
  17. end
  18. function root:keep_alive(uid)
  19. return code.OK
  20. end
  21. return root