Exemplo n.º 1
0
        public bool IsAtBookmark(CachedBookMark bookMark)
        {
            if (IsStationBookMark(bookMark))
            {
                return(_station.IsDockedAtStation(bookMark.ItemId));
            }

            return(_meCache.InSpace && _meCache.SolarSystemId == bookMark.SolarSystemId &&
                   DistanceTo(bookMark.X, bookMark.Y, bookMark.Z) < (int)Ranges.Warp);
        }