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

EliteDangerousAlmanac / Ships / LoadoutValidationInput

Record: LoadoutValidationInput

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

What a validation reads.

Constructors

new LoadoutValidationInput()

new LoadoutValidationInput(ShipSymbol, Slots, Modules)

Parameters

ShipSymbol

string

The hull symbol.

Slots

IReadOnlyList<BuildSlot>

The hull's expanded mounts.

Modules

IReadOnlyList<ValidationModule>

The fitted modules. A repeated mount key must be kept here so it can be reported.

Properties

Mass

Mass: LoadoutMass?

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

What the assembled ship weighs, for the one rule that reads a figure. Leave it out to check the structure alone.

Modules

Modules: IReadOnlyList<ValidationModule>

The fitted modules. A repeated mount key must be kept here so it can be reported.

ShipSymbol

ShipSymbol: string

The hull symbol.

Slots

Slots: IReadOnlyList<BuildSlot>

The hull's expanded mounts.

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