KLServerSelectionPanelView.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---@class KLServerSelectionPanelView:UIKmlLuaViewBase
  2. ---@field bg UIKmlLuaControl
  3. ---@field title UIKmlLuaControl
  4. ---@field btn_closeSelectServer UIKmlLuaControl
  5. ---@field halfYearTitle UIKmlLuaControl
  6. ---@field go_serverGroup UIKmlLuaControl
  7. ---@field layout5 UIKmlLuaControl
  8. ---@field serverGroup UIKmlLuaControl
  9. ---@field sv_selectServers UIKmlLuaControl
  10. ---@field gridview7 UIKmlLuaControl
  11. ---@field SelectServer UIKmlLuaControl
  12. ---@field sv_haveRoles UIKmlLuaControl
  13. ---@field gridview9 UIKmlLuaControl
  14. ---@field haveRoles UIKmlLuaControl
  15. ---@field serverStateGroup UIKmlLuaControl
  16. ---@field ico_state1 UIKmlLuaControl
  17. ---@field ico UIKmlLuaControl
  18. ---@field txt UIKmlLuaControl
  19. ---@field ico_state2 UIKmlLuaControl
  20. ---@field img15 UIKmlLuaControl
  21. ---@field text16 UIKmlLuaControl
  22. ---@field ico_state3 UIKmlLuaControl
  23. ---@field img18 UIKmlLuaControl
  24. ---@field text19 UIKmlLuaControl
  25. ---@field serverGroupToggleGroup UIKmlLuaControl
  26. ---@field img1 UIKmlLuaControl
  27. local KLServerSelectionPanelView = {}
  28. setmetatable(KLServerSelectionPanelView,UIKmlLuaViewBase)
  29. local kmlPath = 'dev/outui/PCPlatform/Panel/KLServerSelection/KLServerSelectionPanelKml'
  30. KLServerSelectionPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  31. ---@param parent UIKmlLuaControl
  32. function KLServerSelectionPanelView:Init(parent)
  33. --local p = parent and parent.kmlControl
  34. --self.root = UIKmlLuaControl(CS.KmlResourceManager.Create(p,kmlPath,KLServerSelectionPanelView.content))
  35. self:InitRoot(parent,kmlPath,KLServerSelectionPanelView.content)
  36. end
  37. return KLServerSelectionPanelView