KLDisplayPanelView.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ---@class KLDisplayPanelView:UIKmlLuaViewBase
  2. ---@field hidePlayerModelToggle UIKmlLuaControl
  3. ---@field hidePlayerModelTxt UIKmlLuaControl
  4. ---@field hidePlayerSkillEffectToggle UIKmlLuaControl
  5. ---@field hidePlayerSkillEffectTxt UIKmlLuaControl
  6. ---@field hidePlayerWingToggle UIKmlLuaControl
  7. ---@field hidePlayerWingTxt UIKmlLuaControl
  8. ---@field hideMeWingToggle UIKmlLuaControl
  9. ---@field hideMeWingTxt UIKmlLuaControl
  10. ---@field hidePlayerFootprintToggle UIKmlLuaControl
  11. ---@field hidePlayerFootprintTxt UIKmlLuaControl
  12. ---@field hidePetModel UIKmlLuaControl
  13. ---@field hideMonsterModel UIKmlLuaControl
  14. ---@field hideMonsterSkillEffect UIKmlLuaControl
  15. ---@field IsPlayerNum UIKmlLuaControl
  16. ---@field SliderShowPlayer UIKmlLuaControl
  17. ---@field playerCount UIKmlLuaControl
  18. ---@field powerSaving1 UIKmlLuaControl
  19. ---@field powerSaving2 UIKmlLuaControl
  20. ---@field powerSaving3 UIKmlLuaControl
  21. ---@field selectMenu UIKmlLuaControl
  22. ---@field noHideBtn UIKmlLuaControl
  23. ---@field hideAllBtn UIKmlLuaControl
  24. ---@field hideUnioBtn UIKmlLuaControl
  25. ---@field hideEnemyBtn UIKmlLuaControl
  26. ---@field BtnReDefaultDispaly UIKmlLuaControl
  27. local KLDisplayPanelView = {}
  28. setmetatable(KLDisplayPanelView,UIKmlLuaViewBase)
  29. local kmlPath = 'dev/ui/Setting/Panel/KLDisplay/KLDisplayPanelKml'
  30. KLDisplayPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  31. ---@param parent UIKmlLuaControl
  32. function KLDisplayPanelView:Init(parent)
  33. self:InitRoot(parent,kmlPath,KLDisplayPanelView.content)
  34. end
  35. return KLDisplayPanelView