KLNPCShopPanelView.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. ---@class KLNPCShopPanelView:UIKmlLuaViewBase
  2. ---@field Background UIKmlLuaControl
  3. ---@field title UIKmlLuaControl
  4. ---@field scrollerBg UIKmlLuaControl
  5. ---@field ItemList UIKmlLuaControl
  6. ---@field ItemLayout UIKmlLuaControl
  7. ---@field goods UIKmlLuaControl
  8. ---@field desButton UIKmlLuaControl
  9. ---@field CloseButton UIKmlLuaControl
  10. ---@field autoBuyBackground UIKmlLuaControl
  11. ---@field autoBuyToggleCheck UIKmlLuaControl
  12. ---@field autoBuyText UIKmlLuaControl
  13. ---@field MoneyList UIKmlLuaControl
  14. ---@field MoneyList UIKmlLuaControl
  15. ---@field moneyBackground UIKmlLuaControl
  16. ---@field moneyText UIKmlLuaControl
  17. ---@field MUCoinBackground UIKmlLuaControl
  18. ---@field muCoinText UIKmlLuaControl
  19. ---@field MUBindCoinBackground UIKmlLuaControl
  20. ---@field MUBindCoinIcon UIKmlLuaControl
  21. ---@field muBindCoinText UIKmlLuaControl
  22. ---@field diamondBackground UIKmlLuaControl
  23. ---@field diamondText UIKmlLuaControl
  24. local KLNPCShopPanelView = {}
  25. setmetatable(KLNPCShopPanelView,UIKmlLuaViewBase)
  26. local kmlPath = 'dev/ui/NPC/Panel/KLNPCShop/KLNPCShopPanelKml'
  27. KLNPCShopPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  28. ---@param parent UIKmlLuaControl
  29. function KLNPCShopPanelView:Init(parent)
  30. self:InitRoot(parent,kmlPath,KLNPCShopPanelView.content)
  31. end
  32. return KLNPCShopPanelView