private void OnDisable()
        {
            PinchZoomContentManager pinchZoomManager = ZoneMissionOverview.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Singleton <GarrisonWrapper> .Instance.InvasionPOIChangedAction -= this.HandleInvasionPOIChanged;
        }
Пример #2
0
        private void OnDisable()
        {
            PinchZoomContentManager pinchZoomManager = this.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Singleton <GarrisonWrapper> .Instance.ContributionInfoChangedAction -= this.HandleContributionInfoChanged;
        }
Пример #3
0
        private void OnEnable()
        {
            this.SetVisibility(LegionfallData.HasAccess());
            PinchZoomContentManager pinchZoomManager = this.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Singleton <GarrisonWrapper> .Instance.ContributionInfoChangedAction += this.HandleContributionInfoChanged;
        }
Пример #4
0
 private void OnEnable()
 {
     if (ZoneButtonMissionArea.m_pinchZoomManager == null)
     {
         ZoneButtonMissionArea.m_pinchZoomManager = base.gameObject.GetComponentInParent <PinchZoomContentManager>();
     }
     ZoneButtonMissionArea.m_pinchZoomManager.ZoomFactorChanged += new Action <bool>(this.OnZoomChanged);
 }
Пример #5
0
        private void OnDisable()
        {
            PinchZoomContentManager pinchZoomManager = this.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Main instance = Main.instance;

            instance.ContributionInfoChangedAction = (Action)Delegate.Remove(instance.ContributionInfoChangedAction, new Action(this.HandleContributionInfoChanged));
        }
Пример #6
0
        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));
        }
Пример #7
0
        private void OnDisable()
        {
            PinchZoomContentManager pinchZoomManager = ZoneMissionOverview.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Main instance = Main.instance;

            instance.InvasionPOIChangedAction = (Action)Delegate.Remove(instance.InvasionPOIChangedAction, new Action(this.HandleInvasionPOIChanged));
        }
Пример #8
0
        private void OnEnable()
        {
            this.SetVisibility(LegionfallData.HasAccess());
            PinchZoomContentManager pinchZoomManager = this.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Main instance = Main.instance;

            instance.ContributionInfoChangedAction = (Action)Delegate.Combine(instance.ContributionInfoChangedAction, new Action(this.HandleContributionInfoChanged));
        }
Пример #9
0
        private void OnEnable()
        {
            if (ZoneButtonMissionArea.m_pinchZoomManager == null)
            {
                ZoneButtonMissionArea.m_pinchZoomManager = base.gameObject.GetComponentInParent <PinchZoomContentManager>();
            }
            PinchZoomContentManager pinchZoomManager = ZoneButtonMissionArea.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
        }
Пример #10
0
        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()
        {
            if (ZoneMissionOverview.m_pinchZoomManager == null)
            {
                ZoneMissionOverview.m_pinchZoomManager = base.gameObject.GetComponentInParent <PinchZoomContentManager>();
            }
            PinchZoomContentManager pinchZoomManager = ZoneMissionOverview.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Singleton <GarrisonWrapper> .Instance.InvasionPOIChangedAction += this.HandleInvasionPOIChanged;
        }
        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));
        }
Пример #13
0
        private void OnEnable()
        {
            if (ZoneMissionOverview.m_pinchZoomManager == null)
            {
                ZoneMissionOverview.m_pinchZoomManager = base.gameObject.GetComponentInParent <PinchZoomContentManager>();
            }
            PinchZoomContentManager pinchZoomManager = ZoneMissionOverview.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Combine(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
            Main instance = Main.instance;

            instance.InvasionPOIChangedAction = (Action)Delegate.Combine(instance.InvasionPOIChangedAction, new Action(this.HandleInvasionPOIChanged));
        }
Пример #14
0
        private void OnDisable()
        {
            PinchZoomContentManager pinchZoomManager = ZoneButtonMissionArea.m_pinchZoomManager;

            pinchZoomManager.ZoomFactorChanged = (Action <bool>)Delegate.Remove(pinchZoomManager.ZoomFactorChanged, new Action <bool>(this.OnZoomChanged));
        }