KLUIChallengeBossItemView.lua 898 B

12345678910111213141516171819202122
  1. ---@class KLUIChallengeBossItemView:UIKmlLuaViewBase
  2. ---@field img_select UIKmlLuaControl
  3. ---@field img_112 UIKmlLuaControl
  4. ---@field name UIKmlLuaControl
  5. ---@field monster_root UIKmlLuaControl
  6. ---@field monster UIKmlLuaControl
  7. ---@field line_root UIKmlLuaControl
  8. ---@field scrollview_115 UIKmlLuaControl
  9. ---@field line_data_list UIKmlLuaControl
  10. ---@field Integral_BG UIKmlLuaControl
  11. ---@field Integral_Text UIKmlLuaControl
  12. local KLUIChallengeBossItemView = {}
  13. setmetatable(KLUIChallengeBossItemView,UIKmlLuaViewBase)
  14. local kmlPath = 'dev/outui/ChallengeBoss/Item/KLUIChallengeBossItem/KLUIChallengeBossItemKml'
  15. KLUIChallengeBossItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  16. ---@param parent UIKmlLuaControl
  17. function KLUIChallengeBossItemView:Init(parent)
  18. self:InitRoot(parent,kmlPath,KLUIChallengeBossItemView.content)
  19. end
  20. return KLUIChallengeBossItemView