bag.lua 502 B

1234567891011121314151617181920212223242526272829
  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:bag_get_info(role, msg)
  13. return role.bag:itf_get_info(role, msg)
  14. end
  15. -- 分解
  16. function root:bag_exchange(role, msg)
  17. return role.bag:itf_exchange(role, msg)
  18. end
  19. -- 提取
  20. function root:bag_draw(role, msg)
  21. return role.bag:itf_draw(role, msg)
  22. end
  23. return root