KLMainAttackPanelView.lua 957 B

12345678910111213141516171819202122232425
  1. ---@class KLMainAttackPanelView:UIKmlLuaViewBase
  2. ---@field AttackButton UIKmlLuaControl
  3. ---@field clickEffect UIKmlLuaControl
  4. ---@field sword UIKmlLuaControl
  5. ---@field Img_cdTime UIKmlLuaControl
  6. ---@field killPerson UIKmlLuaControl
  7. ---@field red2 UIKmlLuaControl
  8. ---@field killMonster UIKmlLuaControl
  9. ---@field yellow2 UIKmlLuaControl
  10. ---@field BtnKillMonster UIKmlLuaControl
  11. ---@field BtnKillPerson UIKmlLuaControl
  12. ---@field mask_skill UIKmlLuaControl
  13. ---@field SkillStruct UIKmlLuaControl
  14. ---@field BtnMount UIKmlLuaControl
  15. local KLMainAttackPanelView = {}
  16. setmetatable(KLMainAttackPanelView,UIKmlLuaViewBase)
  17. local kmlPath = 'dev/ui/MainUI/Panel/KLMainAttack_PC/KLMainAttackPanelKml'
  18. KLMainAttackPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  19. ---@param parent UIKmlLuaControl
  20. function KLMainAttackPanelView:Init(parent)
  21. self:InitRoot(parent,kmlPath,KLMainAttackPanelView.content)
  22. end
  23. return KLMainAttackPanelView