Exemplo n.º 1
0
        ///<summary>
        ///Refreshes Current Bounty Minimap Markers
        ///</summary>
        public void RefreshBountyMapMarkers()
        {
            CurrentBountyMapMarkers.Clear();

            //Disabled Setting?
            //if (!FunkyBaseExtension.Settings.AdventureMode.NavigatePointsOfInterest) return;

            using (ZetaDia.Memory.AcquireFrame())
            {
                foreach (var m in ZetaDia.Minimap.Markers.OpenWorldMarkers)
                {
                    var bmm = new BountyMapMarker(m.Position, m.DynamicWorldId, m.Id);
                    CurrentBountyMapMarkers.Add(bmm.GetHashCode(), bmm);
                }
            }
        }
Exemplo n.º 2
0
        public void RefreshRiftMapMarkers()
        {
            CurrentBountyMapMarkers.Clear();

            //Disabled Setting?
            //if (!FunkyBaseExtension.Settings.AdventureMode.NavigatePointsOfInterest) return;

            int exitHash = GetRiftWorldExitHash(FunkyGame.Hero.CurrentWorldID);

            if (exitHash != -1)
            {
                using (ZetaDia.Memory.AcquireFrame())
                {
                    foreach (var m in ZetaDia.Minimap.Markers.CurrentWorldMarkers)
                    {
                        if (m.NameHash == exitHash)
                        {
                            var bmm = new BountyMapMarker(m.Position, m.DynamicWorldId, m.Id);
                            CurrentBountyMapMarkers.Add(bmm.GetHashCode(), bmm);
                        }
                    }
                }
            }
        }
Exemplo n.º 3
0
        public void RefreshRiftMapMarkers()
        {
            CurrentBountyMapMarkers.Clear();

            //Disabled Setting?
            //if (!FunkyBaseExtension.Settings.AdventureMode.NavigatePointsOfInterest) return;

            int exitHash = GetRiftWorldExitHash(FunkyGame.Hero.CurrentWorldID);
            if (exitHash != -1)
            {
                using (ZetaDia.Memory.AcquireFrame())
                {
                    foreach (var m in ZetaDia.Minimap.Markers.CurrentWorldMarkers)
                    {
                        if (m.NameHash == exitHash)
                        {
                            var bmm = new BountyMapMarker(m.Position, m.DynamicWorldId, m.Id);
                            CurrentBountyMapMarkers.Add(bmm.GetHashCode(), bmm);
                        }
                    }
                }
            }
        }
Exemplo n.º 4
0
        ///<summary>
        ///Refreshes Current Bounty Minimap Markers
        ///</summary>
        public void RefreshBountyMapMarkers()
        {
            CurrentBountyMapMarkers.Clear();

            //Disabled Setting?
            //if (!FunkyBaseExtension.Settings.AdventureMode.NavigatePointsOfInterest) return;

            using (ZetaDia.Memory.AcquireFrame())
            {
                foreach (var m in ZetaDia.Minimap.Markers.OpenWorldMarkers)
                {
                    var bmm = new BountyMapMarker(m.Position, m.DynamicWorldId, m.Id);
                    CurrentBountyMapMarkers.Add(bmm.GetHashCode(), bmm);
                }
            }
        }