DotNet.Ships.Class.LoadoutCalculations - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / LoadoutCalculations
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutCalculations.cs:180
The four aggregate sums a build reports.
These read already-resolved module contributions, so they load no catalogue. Every contribution is a known number, because a record missing one is refused long before it reaches a build, which is why each of these answers its figure outright.
staticCargoCapacity(modules):double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutCalculations.cs:200
Adds up the fitted cargo racks.
IReadOnlyList<LoadoutCalculationModule>
The resolved fitted-module contributions.
double
The cargo capacity in tonnes. A build with no rack carries none.
ArgumentNullException
modules is null.
staticFuelCapacity(reserveFuelCapacity,modules):LoadoutFuelCapacity
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutCalculations.cs:227
Adds the fitted fuel tanks to the hull's reserve.
double
The hull's reserve, in tonnes.
IReadOnlyList<LoadoutCalculationModule>
The resolved fitted-module contributions.
The main and the reserve capacity, in tonnes. No fitted tank is a main of nothing.
ArgumentNullException
modules is null.
staticPassengerCapacity(modules):double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutCalculations.cs:213
Adds up the fitted passenger cabins.
IReadOnlyList<LoadoutCalculationModule>
The resolved fitted-module contributions.
double
The passenger capacity, in berths. A build with no cabin carries none.
ArgumentNullException
modules is null.
staticUnladenMass(hullMass,modules):double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/LoadoutCalculations.cs:187
Adds the hull and the fitted modules together.
double
The empty hull's mass, in tonnes.
IReadOnlyList<LoadoutCalculationModule>
The resolved fitted-module contributions.
double
The unladen mass, in tonnes.
ArgumentNullException
modules is null.