DotNet.Ships.Record.OptionalSlotSpec - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / OptionalSlotSpec
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/BuildSlot.cs:119
One optional-internal mount in a hull's layout.
new OptionalSlotSpec(
Size,Restriction?,Name?)
int
Mount class, 1 to 8.
SlotRestriction? = null
A restriction, when the mount only takes one family of modules.
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.
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:
SlotRestriction?
A restriction, when the mount only takes one family of modules.
Size:
int
Mount class, 1 to 8.