DotNet.Ships.Record.ArmourInput - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / ArmourInput
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Armour.cs:42
Everything an armour calculation needs about a build.
new ArmourInput(
BaseArmour,Bulkhead?,Reinforcements?,ModuleReinforcements?)
double
The hull's base armour, in hull points.
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.
IReadOnlyList<HullReinforcementParams>? = null
Each fitted, powered hull reinforcement package.
IReadOnlyList<ModuleReinforcementParams>? = null
Each fitted, powered module reinforcement package.
BaseArmour:
double
The hull's base armour, in hull points.
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:
IReadOnlyList<ModuleReinforcementParams>?
Each fitted, powered module reinforcement package.
Reinforcements:
IReadOnlyList<HullReinforcementParams>?
Each fitted, powered hull reinforcement package.