private void LoadTeam() { GameUtility.DestroyGameObjects(this.mTeamPanels); this.mTeamPanels.Clear(); GlobalVars.OrdealParties = this.LoadTeamFromPlayerPrefs(); List <PartyEditData> ordealParties = GlobalVars.OrdealParties; List <SupportData> ordealSupports = GlobalVars.OrdealSupports; for (int index = 0; index < ordealParties.Count; ++index) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type OrdealQuestList.\u003CLoadTeam\u003Ec__AnonStorey368 teamCAnonStorey368 = new OrdealQuestList.\u003CLoadTeam\u003Ec__AnonStorey368(); // ISSUE: reference to a compiler-generated field teamCAnonStorey368.\u003C\u003Ef__this = this; OrdealTeamPanel component = (OrdealTeamPanel)((GameObject)UnityEngine.Object.Instantiate <GameObject>((M0)((Component)this.TeamPanelTemplate).get_gameObject())).GetComponent <OrdealTeamPanel>(); ((Component)component).get_gameObject().SetActive(true); foreach (UnitData unit in ordealParties[index].Units) { if (unit != null) { component.Add(unit); } } // ISSUE: reference to a compiler-generated field teamCAnonStorey368.index = index; // ISSUE: method pointer ((UnityEvent)component.Button.get_onClick()).AddListener(new UnityAction((object)teamCAnonStorey368, __methodptr(\u003C\u003Em__37A))); component.TeamName.set_text(ordealParties[index].Name); SupportData supportData = (SupportData)null; if (ordealSupports != null && index < ordealSupports.Count) { supportData = ordealSupports[index]; component.SetSupport(supportData); } int num = PartyUtility.CalcTotalAttack(ordealParties[index], MonoSingleton <GameManager> .Instance.Player.Units, supportData, (List <UnitData>)null); component.TotalAtack.set_text(num.ToString()); this.mTeamPanels.Add(((Component)component).get_gameObject()); ((Component)component).get_transform().SetParent(this.TeamPanelContainer.get_transform(), false); } this.CheckPlayableTeams(this.mCurrentQuest, ordealParties, ordealSupports); }