Skip to content

DotNet.Ships.Record.DamageTypeValues

github-actions[bot] edited this page Sep 23, 2026 · 12 revisions

EliteDangerousAlmanac / Ships / DamageTypeValues

Record: DamageTypeValues

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Resistances.cs:40

One figure per damage type, whatever the figure happens to be.

Remarks

It carries a resistance, a pool of effective hit points, or a share of incoming damage. The unit is the one the member that carries it documents. As a set of resistances each figure is the fraction of that damage type removed, so 0.4 is forty percent resisted and a negative figure is a weakness.

Constructors

new DamageTypeValues()

new DamageTypeValues(Kinetic?, Thermal?, Explosive?, Caustic?)

Parameters

Kinetic

double = 0

The kinetic figure.

Thermal

double = 0

The thermal figure.

Explosive

double = 0

The explosive figure.

Caustic

double = 0

The caustic figure.

Fields

None

static readonly None: DamageTypeValues

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Resistances.cs:47

No figure at all for any damage type.

Properties

Caustic

Caustic: double

The caustic figure.

Explosive

Explosive: double

The explosive figure.

Kinetic

Kinetic: double

The kinetic figure.

Thermal

Thermal: double

The thermal figure.

Indexers

this[]

this[DamageType type]: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Resistances.cs:53

The figure for one damage type.

Parameters

type

DamageType

The damage type to read.

Exceptions

ArgumentOutOfRangeException

type is not a member.

.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