Exemplo n.º 1
0
        public void ValuesChanged()
        {
            if (IgnoreEvent)
            {
                return;
            }

            MarkersControler.Current.MarkerLayersSettings.Blank    = BlankActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Spawn    = SpawnActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Resource = ResourcesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Camera   = CameraActive.isOn;

            MarkersControler.Current.MarkerLayersSettings.LandNodes       = LandNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.AmphibiousNodes = AmphibiousNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.NavyNodes       = NavalNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.AirNodes        = AirNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.ConnectedNodes  = ConnectionsActive.isOn;

            MarkersControler.Current.MarkerLayersSettings.RallyPoint = RallyPointActive.isOn;

            MarkersControler.Current.MarkerLayersSettings.Combat  = CombatActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Defense = DefenseActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.ProtExp = ProtExpActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Expand  = ExpandActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Other   = OtherActive.isOn;

            UpdateAllToggle();

            MarkersControler.UpdateLayers();

            //MarkersInfo.Current.MarkerList.UpdateSelection();
        }
Exemplo n.º 2
0
        public void ValuesChanged()
        {
            MarkersControler.Current.MarkerLayersSettings.Blank    = BlankActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Spawn    = SpawnActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Resource = ResourcesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.Camera   = CameraActive.isOn;

            MarkersControler.Current.MarkerLayersSettings.LandNodes       = LandNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.AmphibiousNodes = AmphibiousNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.NavyNodes       = NavalNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.AirNodes        = AirNodesActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.ConnectedNodes  = ConnectionsActive.isOn;

            MarkersControler.Current.MarkerLayersSettings.RallyPoint     = RallyPointActive.isOn;
            MarkersControler.Current.MarkerLayersSettings.NavyRallyPoint = NavyRallyPointActive.isOn;


            MarkersControler.Current.MarkerLayersSettings.Other = OtherActive.isOn;

            MarkersControler.UpdateLayers();

            MarkersInfo.Current.MarkerList.UpdateSelection();
        }