KLShapeShiftCardItemView.lua 988 B

123456789101112131415161718192021222324
  1. ---@class KLShapeShiftCardItemView:UIKmlLuaViewBase
  2. ---@field panel_is UIKmlLuaControl
  3. ---@field panel_empty UIKmlLuaControl
  4. ---@field img_empty_bg UIKmlLuaControl
  5. ---@field img_empty_lock UIKmlLuaControl
  6. ---@field img_empty_add UIKmlLuaControl
  7. ---@field panel_card UIKmlLuaControl
  8. ---@field img_card_bg UIKmlLuaControl
  9. ---@field img_card_icon UIKmlLuaControl
  10. ---@field img_card_level UIKmlLuaControl
  11. ---@field text_card_name UIKmlLuaControl
  12. ---@field img_select UIKmlLuaControl
  13. ---@field item_equip_redPoint UIKmlLuaControl
  14. local KLShapeShiftCardItemView = {}
  15. setmetatable(KLShapeShiftCardItemView,UIKmlLuaViewBase)
  16. local kmlPath = 'dev/outui/ShapeShiftCard/Item/KLShapeShiftCard/KLShapeShiftCardItemKml'
  17. KLShapeShiftCardItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  18. ---@param parent UIKmlLuaControl
  19. function KLShapeShiftCardItemView:Init(parent)
  20. self:InitRoot(parent,kmlPath,KLShapeShiftCardItemView.content)
  21. end
  22. return KLShapeShiftCardItemView