12345678910111213141516171819202122232425 |
- ---@class KLMainAttackPanelView:UIKmlLuaViewBase
- ---@field AttackButton UIKmlLuaControl
- ---@field clickEffect UIKmlLuaControl
- ---@field sword UIKmlLuaControl
- ---@field Img_cdTime UIKmlLuaControl
- ---@field killPerson UIKmlLuaControl
- ---@field red2 UIKmlLuaControl
- ---@field killMonster UIKmlLuaControl
- ---@field yellow2 UIKmlLuaControl
- ---@field BtnKillMonster UIKmlLuaControl
- ---@field BtnKillPerson UIKmlLuaControl
- ---@field mask_skill UIKmlLuaControl
- ---@field SkillStruct UIKmlLuaControl
- ---@field BtnMount UIKmlLuaControl
- local KLMainAttackPanelView = {}
- setmetatable(KLMainAttackPanelView,UIKmlLuaViewBase)
- local kmlPath = 'dev/ui/MainUI/Panel/KLMainAttack_PC/KLMainAttackPanelKml'
- KLMainAttackPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
- ---@param parent UIKmlLuaControl
- function KLMainAttackPanelView:Init(parent)
-
- self:InitRoot(parent,kmlPath,KLMainAttackPanelView.content)
- end
- return KLMainAttackPanelView
|