KLUIInfoChangeItemView.lua 622 B

12345678910111213141516
  1. ---@class KLUIInfoChangeItemView:UIKmlLuaViewBase
  2. ---@field item_root UIKmlLuaControl
  3. ---@field img_effect UIKmlLuaControl
  4. ---@field img_up UIKmlLuaControl
  5. ---@field text_attr UIKmlLuaControl
  6. local KLUIInfoChangeItemView = {}
  7. setmetatable(KLUIInfoChangeItemView,UIKmlLuaViewBase)
  8. local kmlPath = 'dev/ui/Role/Item/KLUIInfoChange/KLUIInfoChangeItemKml'
  9. KLUIInfoChangeItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  10. ---@param parent UIKmlLuaControl
  11. function KLUIInfoChangeItemView:Init(parent)
  12. self:InitRoot(parent,kmlPath,KLUIInfoChangeItemView.content)
  13. end
  14. return KLUIInfoChangeItemView