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

EliteDangerousAlmanac / Ships / ModuleFitProblem

Record: ModuleFitProblem

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:120

Why a module does not fit a mount, and the figures behind the reason.

Constructors

new ModuleFitProblem()

new ModuleFitProblem(Constraint, Message)

Parameters

Constraint

ModuleFitConstraint

Which rule the fit breaks.

Message

string

The English reading of that rule for this module and mount.

Properties

AllowedShipNames

AllowedShipNames: IReadOnlyList<string>?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:150

The hulls a restricted module is sold for, by name, in the module's own order.

AllowedShipSymbols

AllowedShipSymbols: IReadOnlyList<string>?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:153

The same hulls by symbol, in the same order.

ArmourShipName

ArmourShipName: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:138

The hull the armour belongs to, by name.

ArmourShipSymbol

ArmourShipSymbol: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:141

The hull the armour belongs to, by symbol, when the name resolves to one.

Constraint

Constraint: ModuleFitConstraint

Which rule the fit breaks.

Message

Message: string

The English reading of that rule for this module and mount.

ModuleClass

ModuleClass: int?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:132

The module's own class.

ModuleSlot

ModuleSlot: ModuleSlot?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:129

The one fixed mount the module fills, when it fills one.

RequiredCore

RequiredCore: CoreSlotType?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:126

The core function the mount takes.

Restriction

Restriction: SlotRestriction?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:123

The family the mount or the module reserves itself for.

ShipName

ShipName: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:147

The hull being fitted, by name, when the symbol resolves to one.

ShipSymbol

ShipSymbol: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:144

The hull being fitted, by symbol.

SlotSize

SlotSize: int?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutValidation.cs:135

The mount's class.

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