KLUnionReplaceItemView.lua 583 B

123456789101112131415
  1. ---@class KLUnionReplaceItemView:UIKmlLuaViewBase
  2. ---@field Bg UIKmlLuaControl
  3. ---@field txtName UIKmlLuaControl
  4. ---@field txtLv UIKmlLuaControl
  5. local KLUnionReplaceItemView = {}
  6. setmetatable(KLUnionReplaceItemView,UIKmlLuaViewBase)
  7. local kmlPath = 'dev/outui/Union/Item/KLUnionReplace/KLUnionReplaceItemKml'
  8. KLUnionReplaceItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  9. ---@param parent UIKmlLuaControl
  10. function KLUnionReplaceItemView:Init(parent)
  11. self:InitRoot(parent,kmlPath,KLUnionReplaceItemView.content)
  12. end
  13. return KLUnionReplaceItemView