KLSpecialNPCShopPanelView.lua 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. ---@class KLSpecialNPCShopPanelView: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 MoneyList UIKmlLuaControl
  11. ---@field MoneyList UIKmlLuaControl
  12. ---@field moneyBackground UIKmlLuaControl
  13. ---@field moneyText UIKmlLuaControl
  14. ---@field MUCoinBackground UIKmlLuaControl
  15. ---@field muCoinText UIKmlLuaControl
  16. ---@field MUBindCoinBackground UIKmlLuaControl
  17. ---@field muBindCoinText UIKmlLuaControl
  18. ---@field diamondBackground UIKmlLuaControl
  19. ---@field diamondText UIKmlLuaControl
  20. ---@field noItem UIKmlLuaControl
  21. local KLSpecialNPCShopPanelView = {}
  22. setmetatable(KLSpecialNPCShopPanelView,UIKmlLuaViewBase)
  23. local kmlPath = 'dev/outui/NPC/Panel/KLSpecialNPCShop/KLSpecialNPCShopPanelKml'
  24. KLSpecialNPCShopPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  25. ---@param parent UIKmlLuaControl
  26. function KLSpecialNPCShopPanelView:Init(parent)
  27. self:InitRoot(parent,kmlPath,KLSpecialNPCShopPanelView.content)
  28. end
  29. return KLSpecialNPCShopPanelView