KLUnionElectionAndReplacePanelView.lua 1.2 KB

123456789101112131415161718192021222324252627282930
  1. ---@class KLUnionElectionAndReplacePanelView:UIKmlLuaViewBase
  2. ---@field BackGround UIKmlLuaControl
  3. ---@field Bg UIKmlLuaControl
  4. ---@field TitleImage UIKmlLuaControl
  5. ---@field txtCountDown UIKmlLuaControl
  6. ---@field scrollTitle UIKmlLuaControl
  7. ---@field nameList UIKmlLuaControl
  8. ---@field levelList UIKmlLuaControl
  9. ---@field ticketList UIKmlLuaControl
  10. ---@field replaceLevel UIKmlLuaControl
  11. ---@field scrollview3 UIKmlLuaControl
  12. ---@field layout4 UIKmlLuaControl
  13. ---@field CostBg UIKmlLuaControl
  14. ---@field btnAdd UIKmlLuaControl
  15. ---@field text12 UIKmlLuaControl
  16. ---@field txtCost UIKmlLuaControl
  17. ---@field item UIKmlLuaControl
  18. ---@field btnJoin UIKmlLuaControl
  19. ---@field btnClose UIKmlLuaControl
  20. local KLUnionElectionAndReplacePanelView = {}
  21. setmetatable(KLUnionElectionAndReplacePanelView,UIKmlLuaViewBase)
  22. local kmlPath = 'dev/outui/Union/Panel/KLUnionElectionAndReplace/KLUnionElectionAndReplacePanelKml'
  23. KLUnionElectionAndReplacePanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  24. ---@param parent UIKmlLuaControl
  25. function KLUnionElectionAndReplacePanelView:Init(parent)
  26. self:InitRoot(parent,kmlPath,KLUnionElectionAndReplacePanelView.content)
  27. end
  28. return KLUnionElectionAndReplacePanelView