local UIHeroMatch1v1Store = require("View/HeroMatch1v1/UIHeroMatch1v1Store") local UIFairSoloTournamentStore = UIViewClass(UIHeroMatch1v1Store) function UIFairSoloTournamentStore:OnOpened() self:RegistSystemEvent(EventID.UI_FairSoloTournament_OnSeasonEnd, self.OnBackButtonPressed) end function UIFairSoloTournamentStore:RefreshPanel() if self.loop_Goods.Count > 0 then self.loop_Goods:ClearCells() end for i, v in MDL.FairSoloTournament.GetStoreGoodsEnumerator() do self.loop_Goods:AddData(v, 0) end end return UIFairSoloTournamentStore