KLRedFortPanelView.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ---@class KLRedFortPanelView:UIKmlLuaViewBase
  2. ---@field root UIKmlLuaControl
  3. ---@field bg UIKmlLuaControl
  4. ---@field img1 UIKmlLuaControl
  5. ---@field img5 UIKmlLuaControl
  6. ---@field img2 UIKmlLuaControl
  7. ---@field img3 UIKmlLuaControl
  8. ---@field btnClose UIKmlLuaControl
  9. ---@field panel6 UIKmlLuaControl
  10. ---@field img4 UIKmlLuaControl
  11. ---@field text5 UIKmlLuaControl
  12. ---@field itemRoot UIKmlLuaControl
  13. ---@field panel16 UIKmlLuaControl
  14. ---@field img17 UIKmlLuaControl
  15. ---@field text18 UIKmlLuaControl
  16. ---@field textLevel UIKmlLuaControl
  17. ---@field panel19 UIKmlLuaControl
  18. ---@field img20 UIKmlLuaControl
  19. ---@field text21 UIKmlLuaControl
  20. ---@field textOpenTime UIKmlLuaControl
  21. ---@field panel22 UIKmlLuaControl
  22. ---@field img23 UIKmlLuaControl
  23. ---@field textActivityTime UIKmlLuaControl
  24. ---@field text24 UIKmlLuaControl
  25. ---@field panel28 UIKmlLuaControl
  26. ---@field img29 UIKmlLuaControl
  27. ---@field text30 UIKmlLuaControl
  28. ---@field textRule UIKmlLuaControl
  29. ---@field btnEnter UIKmlLuaControl
  30. local KLRedFortPanelView = {}
  31. setmetatable(KLRedFortPanelView,UIKmlLuaViewBase)
  32. local kmlPath = 'dev/outui/Activity/Panel/KLRedFort/KLRedFortPanelKml'
  33. KLRedFortPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  34. ---@param parent UIKmlLuaControl
  35. function KLRedFortPanelView:Init(parent)
  36. self:InitRoot(parent,kmlPath,KLRedFortPanelView.content)
  37. end
  38. return KLRedFortPanelView