DotNet.Ships.Record.OptionalSlotSpec - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / OptionalSlotSpec

Record: OptionalSlotSpec

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/BuildSlot.cs:119

One optional-internal mount in a hull's layout.

Constructors

new OptionalSlotSpec()

new OptionalSlotSpec(Size, Restriction?, Name?)

Parameters

Size

int

Mount class, 1 to 8.

Restriction

SlotRestriction? = null

A restriction, when the mount only takes one family of modules.

Name

string? = null

The mount's own journal slot key, when the numbering rules do not reproduce it — the Anaconda's Slot14_Size1, the Type-9 Heavy's Slot00_Size8. The _SizeN in such a key may disagree with Size, which is always the mount's real class: the Keelback's Slot03_Size3 names a size-4 mount. That is Frontier's own text, kept as it is.

Properties

Name

Name: string?

The mount's own journal slot key, when the numbering rules do not reproduce it — the Anaconda's Slot14_Size1, the Type-9 Heavy's Slot00_Size8. The _SizeN in such a key may disagree with Size, which is always the mount's real class: the Keelback's Slot03_Size3 names a size-4 mount. That is Frontier's own text, kept as it is.

Restriction

Restriction: SlotRestriction?

A restriction, when the mount only takes one family of modules.

Size

Size: int

Mount class, 1 to 8.

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