DotNet.Ships.Record.LoadoutSlot - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / LoadoutSlot
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutSlot.cs:34
A point-in-time view of one hull mount.
The view is detached from the build it came from, so read it again after an edit that changes the build. Every edit and every candidate query lives on the build itself and takes the mount's BuildSlot.Key, which is what keeps this value free of lifecycle rules.
new LoadoutSlot(
Slot,Name,Module,Removable,ImmovableReason?)
The mount itself: its key, its kind and its size.
string
The English label, such as Frame Shift Drive.
The fitted module, or null when the mount is empty.
bool
Whether an edit may empty this mount.
ImmovableReason? = null
Why the mount cannot be emptied, and null when Removable is set.
ImmovableReason:
ImmovableReason?
Why the mount cannot be emptied, and null when Removable is set.
Key:
string
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutSlot.cs:42
The mount's stable journal key, which every edit takes.
Kind:
SlotKind
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutSlot.cs:45
Which kind of mount this is.
Module:
FittedModule?
The fitted module, or null when the mount is empty.
Name:
string
The English label, such as Frame Shift Drive.
Removable:
bool
Whether an edit may empty this mount.
Size:
int
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutSlot.cs:48
The mount's class.
Slot:
BuildSlot
The mount itself: its key, its kind and its size.