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

EliteDangerousAlmanac / Ships / ShieldBoosterParams

Record: ShieldBoosterParams

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Shields.cs:73

One fitted, powered shield booster's contribution.

Constructors

new ShieldBoosterParams()

new ShieldBoosterParams(ShieldBoost?)

Parameters

ShieldBoost

double = 0

The strength bonus, as a fraction. A fifth is a twenty percent boost.

Properties

Resistances

Resistances: DamageTypeValues

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Shields.cs:76

The booster's own resistances, each a fraction.

ShieldBoost

ShieldBoost: double

The strength bonus, as a fraction. A fifth is a twenty percent boost.

Methods

FromStats()

static FromStats(stats): ShieldBoosterParams

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Shields.cs:82

Reads a booster's bonus and resistances off a module's stats.

Parameters

stats

ModuleStats

The module's stats, post-engineering.

Returns

ShieldBoosterParams

The booster constants the stats carry.

Exceptions

ArgumentNullException

stats is null.

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