KLEquipUIPanelView.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ---@class KLEquipUIPanelView:UIKmlLuaViewBase
  2. ---@field UIEquipPanel UIKmlLuaControl
  3. ---@field UIEquipPanel_Root UIKmlLuaControl
  4. ---@field panelNameText UIKmlLuaControl
  5. ---@field bg UIKmlLuaControl
  6. ---@field CloseButton UIKmlLuaControl
  7. ---@field EquipGrid UIKmlLuaControl
  8. ---@field wearBarChange UIKmlLuaControl
  9. ---@field WearArchange UIKmlLuaControl
  10. ---@field MoneyList UIKmlLuaControl
  11. ---@field moneyBackground UIKmlLuaControl
  12. ---@field moneyText UIKmlLuaControl
  13. ---@field MUCoinBackground UIKmlLuaControl
  14. ---@field muCoinText UIKmlLuaControl
  15. ---@field MUBindCoinBackground UIKmlLuaControl
  16. ---@field muBindCoinText UIKmlLuaControl
  17. ---@field diamondBackground UIKmlLuaControl
  18. ---@field diamondText UIKmlLuaControl
  19. ---@field Grade UIKmlLuaControl
  20. ---@field WearBarList UIKmlLuaControl
  21. ---@field Content UIKmlLuaControl
  22. ---@field img1 UIKmlLuaControl
  23. local KLEquipUIPanelView = {}
  24. setmetatable(KLEquipUIPanelView,UIKmlLuaViewBase)
  25. local kmlPath = 'dev/ui/Equip/Panel/KLEquipUI/KLEquipUIPanelKml'
  26. KLEquipUIPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  27. ---@param parent UIKmlLuaControl
  28. function KLEquipUIPanelView:Init(parent)
  29. self:InitRoot(parent,kmlPath,KLEquipUIPanelView.content)
  30. end
  31. return KLEquipUIPanelView