DotNet.Ships.Record.FittedModule - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / FittedModule
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:12
A point-in-time view of the module fitted in one mount.
The view is detached from the build it came from, so a later edit does not change it. Read a new one after an edit. Every edit lives on the build itself and is keyed by Slot, which is what keeps this value free of a stale-handle lifecycle.
new FittedModule(
Slot,Symbol,Raw)
string
The mount key, in the build's own spelling.
string
The Frontier module symbol, such as Int_Hyperdrive_Size6_Class5.
The detached, journal-shaped fitted record.
Ammunition:
AmmunitionCapacity?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:65
The fully rearmed ammunition capacity, or null on a module that takes no ammunition.
EffectiveStats:
OutfittingModule?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:59
The post-engineering stats, or null when the article did not resolve.
On a weapon, journal damage per second is resolved back to per-round damage and the falloff is capped at the maximum range. Exact damage components follow the engineered total, and they disappear when a damage conversion replaces them with a fractional distribution.
A thruster's or a shield generator's mass curve moves as a whole: a recipe names the optimal mass and the optimal multiplier, and the four endpoints follow them. A generator's maximum mass is the exception, because a lightened optimum leaves it where it was. So this record carries the curve the build's own metrics read.
Engineering:
ModuleEngineering?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:27
The applied engineering, or null when the module is stock.
Health:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:21
The module's health, 0 through 1, or null when unstated.
On:
bool?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:15
Whether the module is powered on, or null when unstated.
PreEngineeredVariant:
PreEngineeredVariant?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:71
The fixed pre-engineered variant this article is, or null when no one variant answers to it.
Priority:
int?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:18
The power-priority group, or null when unstated.
Raw:
LoadoutModule
The detached, journal-shaped fitted record.
Slot:
string
The mount key, in the build's own spelling.
Stats:
OutfittingModule?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:40
The fitted article's stats before its journal modifier block is folded in, or null when the article did not resolve.
A stock or ordinarily engineered module shows its base catalogue record. A fixed pre-engineered variant shows its resolved article record here as well as through EffectiveStats, so a stat a journal capture left out still describes the article. Clearing or replacing that fixed engineering restores the stock record before the next recipe is applied.
Symbol:
string
The Frontier module symbol, such as Int_Hyperdrive_Size6_Class5.
Value:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/FittedModule.cs:24
The captured purchase value in credits, or null when unstated.