Skip to content

DotNet.Ships.Class.ShieldRecovery

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

EliteDangerousAlmanac / Ships / ShieldRecovery

Class: ShieldRecovery

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ShieldRecovery.cs:94

Shield collapse, regeneration and cell-bank aggregation, all data-free.

Remarks

The recovery timing is ported from EDCD/Coriolis at the revision data/ships/SOURCES.md records. See ATTRIBUTIONS.md for credit and licence terms.

Methods

Metrics()

static Metrics(input, systemsPips?): ShieldRecoveryMetrics

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ShieldRecovery.cs:110

Calculates shield recovery and regeneration times at one SYS-pip allocation.

Parameters

input

ShieldRecoveryInput

The shield strength, the generator rates and the distributor figures.

systemsPips

double = 4

The pips assigned to SYS, from zero through four.

Returns

ShieldRecoveryMetrics

The rates, and the seconds to half and to full strength. A phase that cannot finish answers infinity.

Exceptions

ArgumentNullException

input is null.

ArgumentOutOfRangeException

The allocation is outside zero through four, or a figure is negative or not finite.

SummariseCellBanks()

static SummariseCellBanks(banks): CellBankSummary

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

Aggregates fitted shield cell banks while keeping each one's power state.

Parameters

banks

IReadOnlyList<CellBankInput>

The banks, in the order their slots should be reported.

Returns

CellBankSummary

The per-bank figures and the totals over the powered banks. An empty list answers an empty bank list and no totals.

Exceptions

ArgumentNullException

banks is null.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally