KLMountDisplayPanelView.lua 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. ---@class KLMountDisplayPanelView:UIKmlLuaViewBase
  2. ---@field closeBtn UIKmlLuaControl
  3. ---@field ownerMountRoot UIKmlLuaControl
  4. ---@field isRankShowMount UIKmlLuaControl
  5. ---@field model UIKmlLuaControl
  6. ---@field cancelRideBtn UIKmlLuaControl
  7. ---@field rideBtn UIKmlLuaControl
  8. ---@field attInfoList UIKmlLuaControl
  9. ---@field rideTip UIKmlLuaControl
  10. ---@field desBtn UIKmlLuaControl
  11. ---@field mountInfoToggle UIKmlLuaControl
  12. ---@field mountEquipToggle UIKmlLuaControl
  13. ---@field tapToggleGroup UIKmlLuaControl
  14. ---@field mount_att_info_list UIKmlLuaControl
  15. ---@field mountDesList UIKmlLuaControl
  16. ---@field skillContainer UIKmlLuaControl
  17. ---@field skillIcon UIKmlLuaControl
  18. ---@field skillName UIKmlLuaControl
  19. ---@field skillDes UIKmlLuaControl
  20. ---@field skillBg UIKmlLuaControl
  21. local KLMountDisplayPanelView = {}
  22. setmetatable(KLMountDisplayPanelView,UIKmlLuaViewBase)
  23. local kmlPath = 'dev/outui/Mount/Panel/KLMountDisplay/KLMountDisplayPanelKml'
  24. KLMountDisplayPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  25. ---@param parent UIKmlLuaControl
  26. function KLMountDisplayPanelView:Init(parent)
  27. self:InitRoot(parent,kmlPath,KLMountDisplayPanelView.content)
  28. end
  29. return KLMountDisplayPanelView