KLGemEquipItemItemView.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ---@class KLGemEquipItemItemView:UIKmlLuaViewBase
  2. ---@field bag_item_ UIKmlLuaControl
  3. ---@field empty UIKmlLuaControl
  4. ---@field item_model_ UIKmlLuaControl
  5. ---@field item_count_unit UIKmlLuaControl
  6. ---@field fluoriteLevel_ UIKmlLuaControl
  7. ---@field strengthLevel_ UIKmlLuaControl
  8. ---@field appendLevel_ UIKmlLuaControl
  9. ---@field selectImg UIKmlLuaControl
  10. ---@field bg UIKmlLuaControl
  11. ---@field gemCell1 UIKmlLuaControl
  12. ---@field gemImg1 UIKmlLuaControl
  13. ---@field gemCell2 UIKmlLuaControl
  14. ---@field gemImg2 UIKmlLuaControl
  15. ---@field gemCell3 UIKmlLuaControl
  16. ---@field gemImg3 UIKmlLuaControl
  17. ---@field selectTagImg UIKmlLuaControl
  18. ---@field quality_ UIKmlLuaControl
  19. ---@field holdImg_ UIKmlLuaControl
  20. ---@field tipsIcon_ UIKmlLuaControl
  21. ---@field arrow_ UIKmlLuaControl
  22. ---@field puton UIKmlLuaControl
  23. ---@field equipInfo UIKmlLuaControl
  24. ---@field img1 UIKmlLuaControl
  25. ---@field button2 UIKmlLuaControl
  26. ---@field TimeText UIKmlLuaControl
  27. local KLGemEquipItemItemView = {}
  28. setmetatable(KLGemEquipItemItemView,UIKmlLuaViewBase)
  29. local kmlPath = 'dev/outui/GemEquipItem/Item/KLGemEquipItem/KLGemEquipItemItemKml'
  30. KLGemEquipItemItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  31. ---@param parent UIKmlLuaControl
  32. function KLGemEquipItemItemView:Init(parent)
  33. self:InitRoot(parent,kmlPath,KLGemEquipItemItemView.content)
  34. end
  35. return KLGemEquipItemItemView