DotNet.Astronomy.Class.NamingRegionOrigins - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Astronomy / NamingRegionOrigins

Class: NamingRegionOrigins

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/NamingRegionOrigins.cs:44

Where the game's naming regions start.

Remarks

Writing a system name as an address needs the region's own starting point. A region the game names by hand, such as Col 285 Sector or Cepheus Dark Region B, starts somewhere the boxel grid does not, so its starting point is catalogued. Every other region is a plain procedural sector, whose starting point is its place on the grid times the sector size.

The catalogue loads from its shared data file on first use, and every record is immutable. It comes from the EDTS reference and the community research behind it. See data/astro/SOURCES.md for where it was read from, and ATTRIBUTIONS.md for credit and licence terms.

Properties

HandAuthored

static HandAuthored: IReadOnlyList<NamingRegionOrigin>

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/NamingRegionOrigins.cs:53

Every region the game names by hand.

Methods

FindHandAuthored()

static FindHandAuthored(name): NamingRegionOrigin?

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/NamingRegionOrigins.cs:61

Finds where one region the game names by hand starts.

Parameters

name

string?

The region name, in any casing, with any surrounding whitespace.

Returns

NamingRegionOrigin?

The catalogued record, or null where no such region is catalogued. An absent name is a miss, answered the way an unknown one is.

Resolve()

static Resolve(name): NamingRegionOrigin?

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/NamingRegionOrigins.cs:70

Reads where one region starts, whether the game names it or the grid does.

Parameters

name

string?

The region name, in any casing, with any surrounding whitespace.

Returns

NamingRegionOrigin?

The region's starting point, or null where the name is neither catalogued nor a procedural sector.

⚠️ **GitHub.com Fallback** ⚠️