public void Configure(string mode) { if (mode == EmpireBannerPanel.Full) { base.AgeTransform.Height = this.maxHeight; this.EmpireTreasuryPanel.Visible = true; this.EmpireResearchPanel.Visible = true; this.EmpirePointsPanel.Visible = true; this.EmpireLavapoolStockPanel.Visible = DepartmentOfTheInterior.CanPerformLavaformation(base.Empire); this.ResourceEnumerator.Show(new object[0]); } else if (mode == EmpireBannerPanel.TreasuryResearch) { base.AgeTransform.Height = this.maxHeight * 0.5f; this.EmpireTreasuryPanel.Visible = true; this.EmpireResearchPanel.Visible = true; this.EmpirePointsPanel.Visible = true; this.EmpireLavapoolStockPanel.Visible = DepartmentOfTheInterior.CanPerformLavaformation(base.Empire); this.ResourceEnumerator.Hide(false); } else if (mode == EmpireBannerPanel.Strategic) { base.AgeTransform.Height = this.maxHeight * 0.5f; this.EmpireTreasuryPanel.Visible = false; this.EmpireResearchPanel.Visible = false; this.EmpirePointsPanel.Visible = false; this.EmpireLavapoolStockPanel.Visible = false; this.ResourceEnumerator.Show(new object[0]); } }