DotNet.Ships.Class.SlotRestrictions - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / SlotRestrictions
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlotModel.cs:155
What each slot restriction accepts, as a phrase fit for an outfitting screen.
This is the same wording a loadout uses when it refuses a module, so a label you show and the reason a caller reads cannot drift apart.
staticIsHardpointRestriction(restriction):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlotModel.cs:180
Whether a restriction is one a weapon hardpoint can carry.
this SlotRestriction
The restriction to classify.
bool
true for a hardpoint restriction.
staticIsOptionalRestriction(restriction):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlotModel.cs:186
Whether a restriction is one an optional internal can carry.
this SlotRestriction
The restriction to classify.
bool
true for an optional-internal restriction.
staticLabel(restriction):string
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlotModel.cs:172
What a restricted mount accepts, as a short phrase.
this SlotRestriction
The restriction to describe.
string
The phrase.
ArgumentOutOfRangeException
restriction is not a member.
staticSlotKey(core):string
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlotModel.cs:193
The journal slot key a core mount has.
this CoreSlotType
The core function.
string
The journal slot key, such as MainEngines for the thrusters.
ArgumentOutOfRangeException
core is not a member.