KLUIMasterTalentCareerSwitchPanelView.lua 1.1 KB

1234567891011121314151617181920212223242526
  1. ---@class KLUIMasterTalentCareerSwitchPanelView:UIKmlLuaViewBase
  2. ---@field MaskCloseButton UIKmlLuaControl
  3. ---@field BG UIKmlLuaControl
  4. ---@field Left UIKmlLuaControl
  5. ---@field img6 UIKmlLuaControl
  6. ---@field LeftText UIKmlLuaControl
  7. ---@field LeftConsume UIKmlLuaControl
  8. ---@field ConsumeItem UIKmlLuaControl
  9. ---@field ConsumeText UIKmlLuaControl
  10. ---@field LeftButton UIKmlLuaControl
  11. ---@field Right UIKmlLuaControl
  12. ---@field img7 UIKmlLuaControl
  13. ---@field RightButton UIKmlLuaControl
  14. ---@field CloseButton UIKmlLuaControl
  15. ---@field Title UIKmlLuaControl
  16. local KLUIMasterTalentCareerSwitchPanelView = {}
  17. setmetatable(KLUIMasterTalentCareerSwitchPanelView,UIKmlLuaViewBase)
  18. local kmlPath = 'dev/outui/MasterTalent/Panel/KLUIMasterTalentCareerSwitch/KLUIMasterTalentCareerSwitchPanelKml'
  19. KLUIMasterTalentCareerSwitchPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  20. ---@param parent UIKmlLuaControl
  21. function KLUIMasterTalentCareerSwitchPanelView:Init(parent)
  22. self:InitRoot(parent,kmlPath,KLUIMasterTalentCareerSwitchPanelView.content)
  23. end
  24. return KLUIMasterTalentCareerSwitchPanelView