cfg_bagButton.lua 962 B

123456789101112131415161718192021222324252627282930
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_bagButton_column
  3. ---id
  4. ---@field id number @id column=1 A
  5. ---策划备注
  6. ---@field systemName string @ column=2 B
  7. ---填写引用文件名称,不填则不显示
  8. ---格式:贴图名称
  9. ---@field icon string @图标 column=3 C
  10. ---格式
  11. ---x#y#z
  12. ---@field position IntList @图标偏移 column=4 D
  13. ---1显示
  14. ---0不显示
  15. ---@field show number @是否显示 column=5 E
  16. local cfg_bagButton =
  17. {
  18. {id=1, systemName="背包-商店", icon="button_interface_person_buy", position={-137,36,0}},
  19. {id=2, systemName="背包-仓库", icon="button_interface_storage", position={-45,36,0}},
  20. {id=3, systemName="背包-回收", icon="button_interface_sell", position={47,36,0}},
  21. {id=4, systemName="背包-整理", icon="button_interface_sort", position={138,36,0}},
  22. }
  23. local defaults = {show=1}
  24. local mt = {__index = defaults}
  25. for _, v in ipairs(cfg_bagButton) do
  26. setmetatable(v, mt)
  27. end
  28. return cfg_bagButton