KLGoldChallengeItemView.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ---@class KLGoldChallengeItemView:UIKmlLuaViewBase
  2. ---@field bgRoot UIKmlLuaControl
  3. ---@field bg UIKmlLuaControl
  4. ---@field textRoot UIKmlLuaControl
  5. ---@field img1 UIKmlLuaControl
  6. ---@field textTask UIKmlLuaControl
  7. ---@field textName UIKmlLuaControl
  8. ---@field textMap UIKmlLuaControl
  9. ---@field frame_2 UIKmlLuaControl
  10. ---@field frame_3 UIKmlLuaControl
  11. ---@field model UIKmlLuaControl
  12. ---@field model1 UIKmlLuaControl
  13. ---@field starGrid UIKmlLuaControl
  14. ---@field getTaskBtnRoot UIKmlLuaControl
  15. ---@field btnAbandon UIKmlLuaControl
  16. ---@field btnGo UIKmlLuaControl
  17. ---@field btnGetTask UIKmlLuaControl
  18. ---@field btnSubmit UIKmlLuaControl
  19. ---@field btnEffect UIKmlLuaControl
  20. ---@field itemRootView UIKmlLuaControl
  21. ---@field layout2 UIKmlLuaControl
  22. ---@field itemRoot UIKmlLuaControl
  23. local KLGoldChallengeItemView = {}
  24. setmetatable(KLGoldChallengeItemView,UIKmlLuaViewBase)
  25. local kmlPath = 'dev/outui/Activity/Item/KLGoldChallenge/KLGoldChallengeItemKml'
  26. KLGoldChallengeItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  27. ---@param parent UIKmlLuaControl
  28. function KLGoldChallengeItemView:Init(parent)
  29. self:InitRoot(parent,kmlPath,KLGoldChallengeItemView.content)
  30. end
  31. return KLGoldChallengeItemView