DotNet.Astronomy.Record.BodyParent - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Astronomy / BodyParent

Record: BodyParent

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/BodyScan.cs:17

The body one scanned body orbits, as the journal names it.

Remarks

A scan states the chain from the body outwards, nearest parent first. Exactly one field of each entry carries a body identifier; the rest are absent.

Constructors

new BodyParent()

new BodyParent(Star?, Planet?, Ring?, Null?)

Parameters

Star

int? = null

The identifier of a star the body orbits.

Planet

int? = null

The identifier of a planet the body orbits.

Ring

int? = null

The identifier of a ring the body orbits within.

Null

int? = null

The identifier of a barycentre, which is the point two bodies orbit rather than a body.

Properties

Null

Null: int?

The identifier of a barycentre, which is the point two bodies orbit rather than a body.

Planet

Planet: int?

The identifier of a planet the body orbits.

Ring

Ring: int?

The identifier of a ring the body orbits within.

Star

Star: int?

The identifier of a star the body orbits.

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