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

EliteDangerousAlmanac / Ships / ArmourInput

Record: ArmourInput

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Armour.cs:42

Everything an armour calculation needs about a build.

Constructors

new ArmourInput()

new ArmourInput(BaseArmour, Bulkhead?, Reinforcements?, ModuleReinforcements?)

Parameters

BaseArmour

double

The hull's base armour, in hull points.

Bulkhead

BulkheadParams? = null

The fitted bulkhead. An absent bulkhead means no armour bonus and no resistances, so the hull reports its bare base armour. No ship in the game flies like that, so pass the hull's own stock armour record to model one that does.

Reinforcements

IReadOnlyList<HullReinforcementParams>? = null

Each fitted, powered hull reinforcement package.

ModuleReinforcements

IReadOnlyList<ModuleReinforcementParams>? = null

Each fitted, powered module reinforcement package.

Properties

BaseArmour

BaseArmour: double

The hull's base armour, in hull points.

Bulkhead

Bulkhead: BulkheadParams?

The fitted bulkhead. An absent bulkhead means no armour bonus and no resistances, so the hull reports its bare base armour. No ship in the game flies like that, so pass the hull's own stock armour record to model one that does.

ModuleReinforcements

ModuleReinforcements: IReadOnlyList<ModuleReinforcementParams>?

Each fitted, powered module reinforcement package.

Reinforcements

Reinforcements: IReadOnlyList<HullReinforcementParams>?

Each fitted, powered hull reinforcement package.

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