KLOpenServerAthleticsPersonChallengeItemView.lua 1.1 KB

1234567891011121314151617181920212223
  1. ---@class KLOpenServerAthleticsPersonChallengeItemView:UIKmlLuaViewBase
  2. ---@field UIPersonChallengeTemplate UIKmlLuaControl
  3. ---@field PersonCount UIKmlLuaControl
  4. ---@field PersonItemList UIKmlLuaControl
  5. ---@field layout36 UIKmlLuaControl
  6. ---@field PersonLimitAward UIKmlLuaControl
  7. ---@field EndIcon UIKmlLuaControl
  8. ---@field PersonLimitTime UIKmlLuaControl
  9. ---@field BtnGo UIKmlLuaControl
  10. ---@field jindu_count UIKmlLuaControl
  11. ---@field Red UIKmlLuaControl
  12. ---@field Finished UIKmlLuaControl
  13. local KLOpenServerAthleticsPersonChallengeItemView = {}
  14. setmetatable(KLOpenServerAthleticsPersonChallengeItemView,UIKmlLuaViewBase)
  15. local kmlPath = 'dev/outui/OpenServerAthletics/Item/KLOpenServerAthleticsPersonChallenge/KLOpenServerAthleticsPersonChallengeItemKml'
  16. KLOpenServerAthleticsPersonChallengeItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  17. ---@param parent UIKmlLuaControl
  18. function KLOpenServerAthleticsPersonChallengeItemView:Init(parent)
  19. self:InitRoot(parent,kmlPath,KLOpenServerAthleticsPersonChallengeItemView.content)
  20. end
  21. return KLOpenServerAthleticsPersonChallengeItemView