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

EliteDangerousAlmanac / Ships / EngineeringModifier

Record: EngineeringModifier

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Engineering.cs:101

One stat a module's engineering changed, in the shape a journal writes it.

Constructors

new EngineeringModifier()

new EngineeringModifier(Label, Value?, OriginalValue?, ValueStr?)

Parameters

Label

string

The stat's journal name, such as FSDOptimalMass.

Value

double? = null

The modified value, when the stat is numeric.

OriginalValue

double? = null

The stock value before engineering, when the stat is numeric.

ValueStr

string? = null

A string-valued modifier's value, used for the non-numeric stats.

Properties

Label

Label: string

The stat's journal name, such as FSDOptimalMass.

OriginalValue

OriginalValue: double?

The stock value before engineering, when the stat is numeric.

PreciseValue

PreciseValue: double?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Engineering.cs:123

The most precise figure available for the stat.

Remarks

A figure derived from it can land one serialized place apart depending on where the modifier came from. Both readings are the best answer available from what the producer wrote.

StoredValue

StoredValue: double?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Engineering.cs:114

The unrounded stored float behind Value.

Remarks

A modifier this library computed carries the float behind its serialized value; one a capture wrote carries only the six decimal places it was written with, and leaves this absent. Read PreciseValue rather than this member.

Value

Value: double?

The modified value, when the stat is numeric.

ValueStr

ValueStr: string?

A string-valued modifier's value, used for the non-numeric stats.

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