KLUnionElectionReplaceItemView.lua 699 B

12345678910111213141516
  1. ---@class KLUnionElectionReplaceItemView:UIKmlLuaViewBase
  2. ---@field btnBg UIKmlLuaControl
  3. ---@field txtName UIKmlLuaControl
  4. ---@field txtLevel UIKmlLuaControl
  5. ---@field txtSupports UIKmlLuaControl
  6. local KLUnionElectionReplaceItemView = {}
  7. setmetatable(KLUnionElectionReplaceItemView,UIKmlLuaViewBase)
  8. local kmlPath = 'dev/outui/Union/Item/KLUnionElectionReplace/KLUnionElectionReplaceItemKml'
  9. KLUnionElectionReplaceItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  10. ---@param parent UIKmlLuaControl
  11. function KLUnionElectionReplaceItemView:Init(parent)
  12. self:InitRoot(parent,kmlPath,KLUnionElectionReplaceItemView.content)
  13. end
  14. return KLUnionElectionReplaceItemView