local UIFreeLineupDetailChildPanel = require("View/FreeLineUp/UIFreeLineupDetailChildPanel") local UISlgGvEDetailChildPanel = UIViewClass(UIFreeLineupDetailChildPanel) function UISlgGvEDetailChildPanel:RefreshLineupGS() local lineNumber = MDL.FreeLineUp.GetFreeLineUpLineNumber(self.context.curFuncType) local curLineupInfo = MDL.FreeLineUp.GetLineNumberInfo(self.context.curFuncType, lineNumber) if curLineupInfo then for ii, heroDetailInfo in ipairs(curLineupInfo.heroInfos) do self.headGSGroupCollections[ii].txt_BaseBR.text = heroDetailInfo.heroBaseGs self.headGSGroupCollections[ii].txt_OtherBR.text = heroDetailInfo.lineUpGs UIUtils.SetLabelText(self.headGSGroupCollections[ii].lab_Base, Const_IDS.IDS_SlgGve_BattleArray_Hint_17) UIUtils.SetLabelText(self.headGSGroupCollections[ii].lab_Other, Const_IDS.IDS_SlgGve_BattleArray_Hint_18) end end end return UISlgGvEDetailChildPanel