KLMonsterMapPointPanelView.lua 848 B

123456789101112131415161718192021
  1. ---@class KLMonsterMapPointPanelView:UIKmlLuaViewBase
  2. ---@field bg UIKmlLuaControl
  3. ---@field bgImg UIKmlLuaControl
  4. ---@field closeBtn_3 UIKmlLuaControl
  5. ---@field img1 UIKmlLuaControl
  6. ---@field loopscrollview UIKmlLuaControl
  7. ---@field loopscrollviewData UIKmlLuaControl
  8. ---@field MonsterName UIKmlLuaControl
  9. ---@field closeBtn_2 UIKmlLuaControl
  10. ---@field closeBtn UIKmlLuaControl
  11. local KLMonsterMapPointPanelView = {}
  12. setmetatable(KLMonsterMapPointPanelView,UIKmlLuaViewBase)
  13. local kmlPath = 'dev/ui/Monster/Panel/KLMonsterMapPoint/KLMonsterMapPointPanelKml'
  14. KLMonsterMapPointPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  15. ---@param parent UIKmlLuaControl
  16. function KLMonsterMapPointPanelView:Init(parent)
  17. self:InitRoot(parent,kmlPath,KLMonsterMapPointPanelView.content)
  18. end
  19. return KLMonsterMapPointPanelView