KLBagTipsPanelView.lua 1.1 KB

123456789101112131415161718192021222324252627282930
  1. ---@class KLBagTipsPanelView:UIKmlLuaViewBase
  2. ---@field move_root UIKmlLuaControl
  3. ---@field MainPanle UIKmlLuaControl
  4. ---@field Image UIKmlLuaControl
  5. ---@field scroll_text_template UIKmlLuaControl
  6. ---@field KmlScrollTextTemplate UIKmlLuaControl
  7. ---@field Text UIKmlLuaControl
  8. ---@field AttrImage UIKmlLuaControl
  9. ---@field AttrText UIKmlLuaControl
  10. ---@field Item UIKmlLuaControl
  11. ---@field BtnClose UIKmlLuaControl
  12. ---@field equiptag UIKmlLuaControl
  13. ---@field bagtag UIKmlLuaControl
  14. ---@field BtnUse1 UIKmlLuaControl
  15. ---@field UseText UIKmlLuaControl
  16. ---@field Light UIKmlLuaControl
  17. ---@field TimeCountdown UIKmlLuaControl
  18. ---@field strengthLevel UIKmlLuaControl
  19. ---@field appendLevel UIKmlLuaControl
  20. local KLBagTipsPanelView = {}
  21. setmetatable(KLBagTipsPanelView,UIKmlLuaViewBase)
  22. local kmlPath = 'dev/ui/Preview/Panel/KLBagTips/KLBagTipsPanelKml'
  23. KLBagTipsPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  24. ---@param parent UIKmlLuaControl
  25. function KLBagTipsPanelView:Init(parent)
  26. self:InitRoot(parent,kmlPath,KLBagTipsPanelView.content)
  27. end
  28. return KLBagTipsPanelView