DotNet.Ships.Class.ShieldRecovery - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / ShieldRecovery
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ShieldRecovery.cs:94
Shield collapse, regeneration and cell-bank aggregation, all data-free.
The recovery timing is ported from EDCD/Coriolis at the revision data/ships/SOURCES.md records. See ATTRIBUTIONS.md for credit and licence terms.
staticMetrics(input,systemsPips?):ShieldRecoveryMetrics
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ShieldRecovery.cs:110
Calculates shield recovery and regeneration times at one SYS-pip allocation.
The shield strength, the generator rates and the distributor figures.
double = 4
The pips assigned to SYS, from zero through four.
The rates, and the seconds to half and to full strength. A phase that cannot finish answers infinity.
ArgumentNullException
input is null.
ArgumentOutOfRangeException
The allocation is outside zero through four, or a figure is negative or not finite.
staticSummariseCellBanks(banks):CellBankSummary
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ShieldRecovery.cs:141
Aggregates fitted shield cell banks while keeping each one's power state.
IReadOnlyList<CellBankInput>
The banks, in the order their slots should be reported.
The per-bank figures and the totals over the powered banks. An empty list answers an empty bank list and no totals.
ArgumentNullException
banks is null.