private void OnDisable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.OnZoomOutMap = (Action)Delegate.Remove(expr_05.OnZoomOutMap, new Action(this.OnZoomOutMap)); if (this.m_usedForMissionList) { AdventureMapPanel expr_36 = AdventureMapPanel.instance; expr_36.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(expr_36.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } else { AdventureMapPanel expr_61 = AdventureMapPanel.instance; expr_61.MissionMapSelectionChangedAction = (Action <int>)Delegate.Remove(expr_61.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } AdventureMapPanel expr_87 = AdventureMapPanel.instance; expr_87.OnShowMissionRewardPanel = (Action <bool>)Delegate.Remove(expr_87.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); SliderPanel expr_AE = this.m_sliderPanel; expr_AE.SliderPanelMaximizedAction = (Action)Delegate.Remove(expr_AE.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized)); SliderPanel expr_D5 = this.m_sliderPanel; expr_D5.SliderPanelBeginMinimizeAction = (Action)Delegate.Remove(expr_D5.SliderPanelBeginMinimizeAction, new Action(this.RevealMap)); SliderPanel expr_FC = this.m_sliderPanel; expr_FC.SliderPanelBeginDragAction = (Action)Delegate.Remove(expr_FC.SliderPanelBeginDragAction, new Action(this.RevealMap)); SliderPanel expr_123 = this.m_sliderPanel; expr_123.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Remove(expr_123.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap)); SliderPanel expr_14A = this.m_sliderPanel; expr_14A.SliderPanelFinishMinimizeAction = (Action)Delegate.Remove(expr_14A.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize)); Main.instance.m_backButtonManager.PopBackAction(); }
private void OnDisable() { AdventureMapPanel instance = AdventureMapPanel.instance; instance.OnZoomOutMap = (Action)Delegate.Remove(instance.OnZoomOutMap, new Action(this.OnZoomOutMap)); if (this.m_usedForMissionList) { AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(instance2.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } else { AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.MissionMapSelectionChangedAction = (Action <int>)Delegate.Remove(instance3.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } AdventureMapPanel instance4 = AdventureMapPanel.instance; instance4.OnShowMissionRewardPanel = (Action <bool>)Delegate.Remove(instance4.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); SliderPanel sliderPanel = this.m_sliderPanel; sliderPanel.SliderPanelMaximizedAction = (Action)Delegate.Remove(sliderPanel.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized)); SliderPanel sliderPanel2 = this.m_sliderPanel; sliderPanel2.SliderPanelBeginMinimizeAction = (Action)Delegate.Remove(sliderPanel2.SliderPanelBeginMinimizeAction, new Action(this.RevealMap)); SliderPanel sliderPanel3 = this.m_sliderPanel; sliderPanel3.SliderPanelBeginDragAction = (Action)Delegate.Remove(sliderPanel3.SliderPanelBeginDragAction, new Action(this.RevealMap)); SliderPanel sliderPanel4 = this.m_sliderPanel; sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Remove(sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap)); SliderPanel sliderPanel5 = this.m_sliderPanel; sliderPanel5.SliderPanelFinishMinimizeAction = (Action)Delegate.Remove(sliderPanel5.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize)); Main.instance.m_backButtonManager.PopBackAction(); }
private void OnEnable() { if (Main.instance == null) { return; } if (this.m_followerID > 0) { if (!PersistentFollowerData.followerDictionary.ContainsKey(this.m_followerID)) { base.transform.SetParent(Main.instance.transform); base.gameObject.SetActive(false); return; } this.SetAvailabilityStatus(PersistentFollowerData.followerDictionary[this.m_followerID]); } Main instance = Main.instance; instance.FollowerDataChangedAction = (Action)Delegate.Combine(instance.FollowerDataChangedAction, new Action(this.FollowerDataChanged)); Main instance2 = Main.instance; instance2.UseArmamentResultAction = (Action <int, JamGarrisonFollower, JamGarrisonFollower>)Delegate.Combine(instance2.UseArmamentResultAction, new Action <int, JamGarrisonFollower, JamGarrisonFollower>(this.HandleUseArmamentResult)); if (AdventureMapPanel.instance != null) { AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.OnMissionFollowerSlotChanged = (Action <int, bool>)Delegate.Combine(instance3.OnMissionFollowerSlotChanged, new Action <int, bool>(this.OnMissionFollowerSlotChanged)); AdventureMapPanel instance4 = AdventureMapPanel.instance; instance4.DeselectAllFollowerListItemsAction = (Action)Delegate.Combine(instance4.DeselectAllFollowerListItemsAction, new Action(this.DeselectMe)); } if (this.m_followerDetailView != null && OrderHallFollowersPanel.instance != null) { OrderHallFollowersPanel instance5 = OrderHallFollowersPanel.instance; instance5.FollowerDetailListItemSelectedAction = (Action <int>)Delegate.Combine(instance5.FollowerDetailListItemSelectedAction, new Action <int>(this.DetailFollowerListItem_ManageFollowerDetailViewSize)); } }
public void JustZoomToMission() { UiAnimMgr.instance.PlayAnim("MinimapPulseAnim", base.get_transform(), Vector3.get_zero(), 3f, 0f); Main.instance.m_UISound.Play_SelectMission(); if (StaticDB.garrMissionDB.GetRecord(this.m_garrMissionID) == null) { return; } AdventureMapPanel instance = AdventureMapPanel.instance; StackableMapIcon component = base.GetComponent <StackableMapIcon>(); StackableMapIconContainer stackableMapIconContainer = null; if (component != null) { stackableMapIconContainer = component.GetContainer(); AdventureMapPanel.instance.SetSelectedIconContainer(stackableMapIconContainer); } Vector2 tapPos; if (stackableMapIconContainer != null) { tapPos = new Vector2(stackableMapIconContainer.get_transform().get_position().x, stackableMapIconContainer.get_transform().get_position().y); } else { tapPos = new Vector2(base.get_transform().get_position().x, base.get_transform().get_position().y); } instance.CenterAndZoom(tapPos, null, true); }
private void OnEnable() { this.ShowExplodedList(false); AdventureMapPanel expr_0C = AdventureMapPanel.instance; expr_0C.SelectedIconContainerChanged = (Action <StackableMapIconContainer>)Delegate.Combine(expr_0C.SelectedIconContainerChanged, new Action <StackableMapIconContainer>(this.HandleSelectedIconContainerChanged)); }
private void OnEnable() { this.ShowIconArea(false); AdventureMapPanel instance = AdventureMapPanel.instance; instance.SelectedIconContainerChanged = (Action <StackableMapIconContainer>)Delegate.Combine(instance.SelectedIconContainerChanged, new Action <StackableMapIconContainer>(this.HandleSelectedIconContainerChanged)); }
private void OnDisable() { AdventureMapPanel instance = AdventureMapPanel.instance; instance.TestIconSizeChanged = (Action <float>)Delegate.Remove(instance.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); PinchZoomContentManager pinchZoomContentManager = AdventureMapPanel.instance.m_pinchZoomContentManager; pinchZoomContentManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomContentManager.ZoomFactorChanged, new Action <bool>(this.HandleZoomChanged)); }
private void OnDisable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.TestIconSizeChanged = (Action <float>)Delegate.Remove(expr_05.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); PinchZoomContentManager expr_30 = AdventureMapPanel.instance.m_pinchZoomContentManager; expr_30.ZoomFactorChanged = (Action)Delegate.Remove(expr_30.ZoomFactorChanged, new Action(this.HandleZoomChanged)); }
private void OnDisable() { Main expr_05 = Main.instance; expr_05.UseEquipmentResultAction = (Action <JamGarrisonFollower, JamGarrisonFollower>)Delegate.Remove(expr_05.UseEquipmentResultAction, new Action <JamGarrisonFollower, JamGarrisonFollower>(this.HandleUseEquipmentResult)); AdventureMapPanel expr_2B = AdventureMapPanel.instance; expr_2B.FollowerToInspectChangedAction = (Action <int>)Delegate.Remove(expr_2B.FollowerToInspectChangedAction, new Action <int>(this.HandleFollowerToInspectChanged)); }
private void Awake() { this.m_selectionRing.get_gameObject().SetActive(false); AdventureMapPanel expr_16 = AdventureMapPanel.instance; expr_16.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_16.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); this.m_missionCompleteText.set_text(StaticDB.GetString("MISSION_COMPLETE", null)); this.m_isStackablePreview = false; }
private void OnEnable() { Main instance = Main.instance; instance.UseEquipmentResultAction = (Action <JamGarrisonFollower, JamGarrisonFollower>)Delegate.Combine(instance.UseEquipmentResultAction, new Action <JamGarrisonFollower, JamGarrisonFollower>(this.HandleUseEquipmentResult)); AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.FollowerToInspectChangedAction = (Action <int>)Delegate.Combine(instance2.FollowerToInspectChangedAction, new Action <int>(this.HandleFollowerToInspectChanged)); }
private void OnEnable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.TestIconSizeChanged = (Action <float>)Delegate.Combine(expr_05.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); PinchZoomContentManager expr_30 = AdventureMapPanel.instance.m_pinchZoomContentManager; expr_30.ZoomFactorChanged = (Action)Delegate.Combine(expr_30.ZoomFactorChanged, new Action(this.HandleZoomChanged)); this.m_showLootIconInsteadOfMain = true; }
private void OnEnable() { AdventureMapPanel instance = AdventureMapPanel.instance; instance.TestIconSizeChanged = (Action <float>)Delegate.Combine(instance.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); PinchZoomContentManager pinchZoomContentManager = AdventureMapPanel.instance.m_pinchZoomContentManager; pinchZoomContentManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomContentManager.ZoomFactorChanged, new Action <bool>(this.HandleZoomChanged)); this.m_showLootIconInsteadOfMain = true; }
private void OnEnable() { AdventureMapPanel instance = AdventureMapPanel.instance; instance.TestIconSizeChanged = (Action <float>)Delegate.Combine(instance.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); PinchZoomContentManager pinchZoomContentManager = AdventureMapPanel.instance.m_pinchZoomContentManager; pinchZoomContentManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomContentManager.ZoomFactorChanged, new Action <bool>(this.HandleZoomChanged)); AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(instance2.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); }
private void Awake() { AdventureMapPanel.instance = this; this.m_zoneID = AdventureMapPanel.eZone.None; this.m_testMissionIconScale = 1f; this.m_mapFilters = new bool[14]; for (int i = 0; i < this.m_mapFilters.Length; i++) { this.m_mapFilters[i] = false; } this.EnableMapFilter(MapFilterType.All, true); AllPanels.instance.m_missionResultsPanel.get_gameObject().SetActive(true); }
private void OnDisable() { if (Main.instance != null) { Main expr_15 = Main.instance; expr_15.MissionSuccessChanceChangedAction = (Action <int>)Delegate.Remove(expr_15.MissionSuccessChanceChangedAction, new Action <int>(this.OnMissionSuccessChanceChanged)); Main expr_3B = Main.instance; expr_3B.FollowerDataChangedAction = (Action)Delegate.Remove(expr_3B.FollowerDataChangedAction, new Action(this.HandleFollowerDataChanged)); } if (AdventureMapPanel.instance != null) { AdventureMapPanel expr_71 = AdventureMapPanel.instance; expr_71.ShowMissionResultAction = (Action <int, int, bool>)Delegate.Remove(expr_71.ShowMissionResultAction, new Action <int, int, bool>(this.ShowMissionResults)); } }
private void OnDisable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.TestIconSizeChanged = (Action <float>)Delegate.Remove(expr_05.TestIconSizeChanged, new Action <float>(this.OnTestIconSizeChanged)); Main expr_2B = Main.instance; expr_2B.ClaimMissionBonusResultAction = (Action <int, bool, int>)Delegate.Remove(expr_2B.ClaimMissionBonusResultAction, new Action <int, bool, int>(this.HandleClaimMissionBonusResult)); Main expr_51 = Main.instance; expr_51.CompleteMissionResultAction = (Action <int, int, int>)Delegate.Remove(expr_51.CompleteMissionResultAction, new Action <int, int, int>(this.HandleCompleteMissionResult)); PinchZoomContentManager expr_7C = AdventureMapPanel.instance.m_pinchZoomContentManager; expr_7C.ZoomFactorChanged = (Action)Delegate.Remove(expr_7C.ZoomFactorChanged, new Action(this.HandleZoomChanged)); }
private void OnEnable() { if (this.m_usedForMissionList) { if (AdventureMapPanel.instance != null) { AdventureMapPanel instance = AdventureMapPanel.instance; instance.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(instance.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } } else if (AdventureMapPanel.instance != null) { AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(instance2.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } }
private void Awake() { this.m_sliderPanel = base.GetComponent <SliderPanel>(); AdventureMapPanel expr_11 = AdventureMapPanel.instance; expr_11.OnZoomOutMap = (Action)Delegate.Combine(expr_11.OnZoomOutMap, new Action(this.OnZoomOutMap)); AdventureMapPanel expr_37 = AdventureMapPanel.instance; expr_37.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_37.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); AdventureMapPanel expr_5D = AdventureMapPanel.instance; expr_5D.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_5D.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); AdventureMapPanel expr_83 = AdventureMapPanel.instance; expr_83.WorldQuestChangedAction = (Action <int>)Delegate.Combine(expr_83.WorldQuestChangedAction, new Action <int>(this.HandleWorldQuestChanged)); }
private void Awake() { this.m_sliderPanel = base.GetComponent <SliderPanel>(); AdventureMapPanel instance = AdventureMapPanel.instance; instance.OnZoomOutMap = (Action)Delegate.Combine(instance.OnZoomOutMap, new Action(this.OnZoomOutMap)); AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(instance2.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(instance3.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); AdventureMapPanel instance4 = AdventureMapPanel.instance; instance4.WorldQuestChangedAction = (Action <int>)Delegate.Combine(instance4.WorldQuestChangedAction, new Action <int>(this.HandleWorldQuestChanged)); }
private void OnDisable() { if (this.m_usedForMissionList) { if (AdventureMapPanel.instance != null) { AdventureMapPanel expr_20 = AdventureMapPanel.instance; expr_20.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(expr_20.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } } else if (AdventureMapPanel.instance != null) { AdventureMapPanel expr_5B = AdventureMapPanel.instance; expr_5B.MissionMapSelectionChangedAction = (Action <int>)Delegate.Remove(expr_5B.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } }
private void Awake() { this.ClearRewardIcons(); this.m_sliderPanel = base.GetComponent <SliderPanel>(); AdventureMapPanel expr_17 = AdventureMapPanel.instance; expr_17.OnZoomOutMap = (Action)Delegate.Combine(expr_17.OnZoomOutMap, new Action(this.OnZoomOutMap)); AdventureMapPanel expr_3D = AdventureMapPanel.instance; expr_3D.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_3D.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); AdventureMapPanel expr_63 = AdventureMapPanel.instance; expr_63.OnAddMissionLootToRewardPanel = (Action <int>)Delegate.Combine(expr_63.OnAddMissionLootToRewardPanel, new Action <int>(this.OnAddMissionLootToRewardPanel)); AdventureMapPanel expr_89 = AdventureMapPanel.instance; expr_89.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_89.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); }
private void OnDisable() { Main instance = Main.instance; instance.FollowerDataChangedAction = (Action)Delegate.Remove(instance.FollowerDataChangedAction, new Action(this.FollowerDataChanged)); Main instance2 = Main.instance; instance2.UseArmamentResultAction = (Action <int, JamGarrisonFollower, JamGarrisonFollower>)Delegate.Remove(instance2.UseArmamentResultAction, new Action <int, JamGarrisonFollower, JamGarrisonFollower>(this.HandleUseArmamentResult)); if (AdventureMapPanel.instance != null) { AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.OnMissionFollowerSlotChanged = (Action <int, bool>)Delegate.Remove(instance3.OnMissionFollowerSlotChanged, new Action <int, bool>(this.OnMissionFollowerSlotChanged)); AdventureMapPanel instance4 = AdventureMapPanel.instance; instance4.DeselectAllFollowerListItemsAction = (Action)Delegate.Remove(instance4.DeselectAllFollowerListItemsAction, new Action(this.DeselectMe)); } if (this.m_followerDetailView != null && OrderHallFollowersPanel.instance != null) { OrderHallFollowersPanel instance5 = OrderHallFollowersPanel.instance; instance5.FollowerDetailListItemSelectedAction = (Action <int>)Delegate.Remove(instance5.FollowerDetailListItemSelectedAction, new Action <int>(this.DetailFollowerListItem_ManageFollowerDetailViewSize)); } }
private void OnEnable() { this.m_missionSuccessMessage.SetActive(false); this.m_missionFailMessage.SetActive(false); this.m_missionInProgressMessage.SetActive(false); if (Main.instance != null) { Main expr_39 = Main.instance; expr_39.MissionSuccessChanceChangedAction = (Action <int>)Delegate.Combine(expr_39.MissionSuccessChanceChangedAction, new Action <int>(this.OnMissionSuccessChanceChanged)); Main expr_5F = Main.instance; expr_5F.FollowerDataChangedAction = (Action)Delegate.Combine(expr_5F.FollowerDataChangedAction, new Action(this.HandleFollowerDataChanged)); } if (AdventureMapPanel.instance != null) { AdventureMapPanel expr_95 = AdventureMapPanel.instance; expr_95.ShowMissionResultAction = (Action <int, int, bool>)Delegate.Combine(expr_95.ShowMissionResultAction, new Action <int, int, bool>(this.ShowMissionResults)); } this.m_okButtonText.set_text(StaticDB.GetString("OK", null)); this.m_inProgressText.set_text(StaticDB.GetString("IN_PROGRESS", null)); this.m_successText.set_text(StaticDB.GetString("MISSION_SUCCESS", null)); this.m_failureText.set_text(StaticDB.GetString("MISSION_FAILED", null)); }
private void OnEnable() { this.m_missionSuccessMessage.SetActive(false); this.m_missionFailMessage.SetActive(false); this.m_missionInProgressMessage.SetActive(false); this.m_bonusMissionRewardDisplay.m_rewardIcon.transform.localPosition = this.m_bonusLootInitialLocalPosition; if (Main.instance != null) { Main instance = Main.instance; instance.MissionSuccessChanceChangedAction = (Action <int>)Delegate.Combine(instance.MissionSuccessChanceChangedAction, new Action <int>(this.OnMissionSuccessChanceChanged)); Main instance2 = Main.instance; instance2.FollowerDataChangedAction = (Action)Delegate.Combine(instance2.FollowerDataChangedAction, new Action(this.HandleFollowerDataChanged)); } if (AdventureMapPanel.instance != null) { AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.ShowMissionResultAction = (Action <int, int, bool>)Delegate.Combine(instance3.ShowMissionResultAction, new Action <int, int, bool>(this.ShowMissionResults)); } this.m_okButtonText.text = StaticDB.GetString("OK", null); this.m_inProgressText.text = StaticDB.GetString("IN_PROGRESS", null); this.m_successText.text = StaticDB.GetString("MISSION_SUCCESS", null); this.m_failureText.text = StaticDB.GetString("MISSION_FAILED", null); }
private void OnEnable() { this.m_sliderPanel = base.GetComponent <SliderPanel>(); this.m_sliderPanel.m_masterCanvasGroup.alpha = 0f; AdventureMapPanel instance = AdventureMapPanel.instance; instance.OnZoomOutMap = (Action)Delegate.Combine(instance.OnZoomOutMap, new Action(this.OnZoomOutMap)); if (this.m_usedForMissionList) { AdventureMapPanel instance2 = AdventureMapPanel.instance; instance2.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(instance2.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } else { AdventureMapPanel instance3 = AdventureMapPanel.instance; instance3.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(instance3.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } AdventureMapPanel instance4 = AdventureMapPanel.instance; instance4.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(instance4.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); SliderPanel sliderPanel = this.m_sliderPanel; sliderPanel.SliderPanelMaximizedAction = (Action)Delegate.Combine(sliderPanel.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized)); SliderPanel sliderPanel2 = this.m_sliderPanel; sliderPanel2.SliderPanelBeginMinimizeAction = (Action)Delegate.Combine(sliderPanel2.SliderPanelBeginMinimizeAction, new Action(this.RevealMap)); SliderPanel sliderPanel3 = this.m_sliderPanel; sliderPanel3.SliderPanelBeginDragAction = (Action)Delegate.Combine(sliderPanel3.SliderPanelBeginDragAction, new Action(this.RevealMap)); SliderPanel sliderPanel4 = this.m_sliderPanel; sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Combine(sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap)); SliderPanel sliderPanel5 = this.m_sliderPanel; sliderPanel5.SliderPanelFinishMinimizeAction = (Action)Delegate.Combine(sliderPanel5.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize)); Main.instance.m_backButtonManager.PushBackAction(BackAction.hideSliderPanel, this.m_sliderPanel.gameObject); }
private void OnEnable() { this.m_sliderPanel = base.GetComponent <SliderPanel>(); this.m_sliderPanel.m_masterCanvasGroup.set_alpha(0f); AdventureMapPanel expr_26 = AdventureMapPanel.instance; expr_26.OnZoomOutMap = (Action)Delegate.Combine(expr_26.OnZoomOutMap, new Action(this.OnZoomOutMap)); if (this.m_usedForMissionList) { AdventureMapPanel expr_57 = AdventureMapPanel.instance; expr_57.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(expr_57.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged)); } else { AdventureMapPanel expr_82 = AdventureMapPanel.instance; expr_82.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_82.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged)); } AdventureMapPanel expr_A8 = AdventureMapPanel.instance; expr_A8.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_A8.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel)); SliderPanel expr_CF = this.m_sliderPanel; expr_CF.SliderPanelMaximizedAction = (Action)Delegate.Combine(expr_CF.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized)); SliderPanel expr_F6 = this.m_sliderPanel; expr_F6.SliderPanelBeginMinimizeAction = (Action)Delegate.Combine(expr_F6.SliderPanelBeginMinimizeAction, new Action(this.RevealMap)); SliderPanel expr_11D = this.m_sliderPanel; expr_11D.SliderPanelBeginDragAction = (Action)Delegate.Combine(expr_11D.SliderPanelBeginDragAction, new Action(this.RevealMap)); SliderPanel expr_144 = this.m_sliderPanel; expr_144.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Combine(expr_144.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap)); SliderPanel expr_16B = this.m_sliderPanel; expr_16B.SliderPanelFinishMinimizeAction = (Action)Delegate.Combine(expr_16B.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize)); Main.instance.m_backButtonManager.PushBackAction(BackAction.hideSliderPanel, this.m_sliderPanel.get_gameObject()); }
private void OnDisable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.SelectedIconContainerChanged = (Action <StackableMapIconContainer>)Delegate.Remove(expr_05.SelectedIconContainerChanged, new Action <StackableMapIconContainer>(this.HandleSelectedIconContainerChanged)); }
private void OnDisable() { AdventureMapPanel instance = AdventureMapPanel.instance; instance.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(instance.MissionSelectedFromListAction, new Action <int>(this.HandleMissionSelected)); }
private void OnEnable() { AdventureMapPanel expr_05 = AdventureMapPanel.instance; expr_05.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(expr_05.MissionSelectedFromListAction, new Action <int>(this.HandleMissionSelected)); }