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