cfg_efficiency.lua 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_efficiency_column
  3. ---@field id number @唯一id column=1 A
  4. ---相同组在同一个页签下显示
  5. ---@field group number @组 column=2 B
  6. ---2101 使用道具 1201 开通会员 2102 开通特权
  7. ---满足时显示已激活
  8. ---@field conditions string @是否激活的条件 column=3 C
  9. ---当前的页签显示名称
  10. ---@field name string @页签名称 column=4 D
  11. ---背景图的名称#背景图名称
  12. ---@field backgroundImg string @该页签下背景图 column=5 E
  13. ---道具id#道具id
  14. ---和前面背景图的顺序一样
  15. ---若无道具则不配置
  16. ---@field item IntListList @该背景图下显示的道具 column=6 F
  17. ---数值读取
  18. ---@field text string @背景图上的数字 column=7 G
  19. ---百分比
  20. ---@field Scale number @模型大小缩放 column=8 H
  21. ---和jump一一对应
  22. ---不配条件则为不满足其他条件时跳转
  23. ---@field jumpCondition string @跳转条件 column=9 I
  24. ---配对应界面路径的快捷指令,和前面背景图的顺序一样 快捷指令#快捷指令
  25. ---@field Jump StringListList @该页签下按钮跳转路径 column=10 J
  26. ---达到该等级时才显示对应页签
  27. ---@field level number @显示等级 column=11 K
  28. local cfg_efficiency =
  29. {
  30. {id=1001, group=1, conditions="2101#30030201/2101#30030202/2101#30030203", name="经验倍率", backgroundImg="recharge01", item={{30030201}}, text="50", Scale=125, jumpCondition="2301#30030201/2301#30030202/2301#30030203|903#1|", Jump={{"openUIPanel","dev/ui/Bag/Panel/KLUIBag/KLUIBagPanel","1","JumpSelectItem_1=30030201&JumpSelectItem_2=30030202&JumpSelectItem_3=30030203"},{"openUIPanel","dev/outui/FirstCharge/Panel/KLFirstCharge/KLFirstChargePanel"},{"openUIPanel","dev/outui/ShopMain/Panel/KLShopMain/KLShopMainPanel","1","1&3011"}}},
  31. {id=1002, group=1, conditions="1201#1", name="经验倍率", backgroundImg="recharge04", item={}, text="10", Scale=0, jumpCondition="", Jump={{"openUIPanel","dev/outui/VIP/Panel/KLNewVIPMain/KLNewVIPMainPanel"}}},
  32. {id=1004, group=2, conditions="2102#30/2102#31/2102#32/2102#33", name="快捷拾取", backgroundImg="recharge03_2", item={}, text="", Scale=0, jumpCondition="", Jump={{"openUIPanel","dev/outui/ShopMain/Panel/KLShopMain/KLShopMainPanel","1","2"}}},
  33. {id=1005, group=3, conditions="2102#30/2102#31/2102#32/2102#33", name="自动回收", backgroundImg="recharge02_2", item={}, text="", Scale=0, jumpCondition="", Jump={{"openUIPanel","dev/outui/ShopMain/Panel/KLShopMain/KLShopMainPanel","1","2"}}},
  34. }
  35. local defaults = {level=30}
  36. local mt = {__index = defaults}
  37. for _, v in ipairs(cfg_efficiency) do
  38. setmetatable(v, mt)
  39. end
  40. return cfg_efficiency