KLSiegeMainPanelView.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ---@class KLSiegeMainPanelView:UIKmlLuaViewBase
  2. ---@field img_33 UIKmlLuaControl
  3. ---@field img_34 UIKmlLuaControl
  4. ---@field btn_close UIKmlLuaControl
  5. ---@field img_36 UIKmlLuaControl
  6. ---@field img_36 UIKmlLuaControl
  7. ---@field btn_reward UIKmlLuaControl
  8. ---@field btn_go UIKmlLuaControl
  9. ---@field unionName UIKmlLuaControl
  10. ---@field role_mid UIKmlLuaControl
  11. ---@field role_left UIKmlLuaControl
  12. ---@field role_right UIKmlLuaControl
  13. ---@field HelpButton UIKmlLuaControl
  14. ---@field roleTitle1 UIKmlLuaControl
  15. ---@field roleTitle1_Name UIKmlLuaControl
  16. ---@field roleTitle2 UIKmlLuaControl
  17. ---@field roleTitle2_Name UIKmlLuaControl
  18. ---@field roleTitle3 UIKmlLuaControl
  19. ---@field roleTitle3_Name UIKmlLuaControl
  20. ---@field noPlayerBG1 UIKmlLuaControl
  21. ---@field noPlayerBG2 UIKmlLuaControl
  22. ---@field noPlayerBG3 UIKmlLuaControl
  23. ---@field img_20 UIKmlLuaControl
  24. ---@field TimeTitle UIKmlLuaControl
  25. ---@field TimeText UIKmlLuaControl
  26. ---@field OpenText UIKmlLuaControl
  27. local KLSiegeMainPanelView = {}
  28. setmetatable(KLSiegeMainPanelView,UIKmlLuaViewBase)
  29. local kmlPath = 'dev/outui/LoranSiege/Panel/KLSiegeMain/KLSiegeMainPanelKml'
  30. KLSiegeMainPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  31. ---@param parent UIKmlLuaControl
  32. function KLSiegeMainPanelView:Init(parent)
  33. self:InitRoot(parent,kmlPath,KLSiegeMainPanelView.content)
  34. end
  35. return KLSiegeMainPanelView