DotNet.Ships.Record.WeaponStats - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / WeaponStats
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:13
The weapon stats a firepower calculation needs, all post-engineering.
A weapon carries only the stats that apply to it. A stat this record states as nullable is absent where the weapon does not carry it, and the absence carries meaning: no rate of fire marks a continuous-fire weapon, and no clip size marks one that never stops to reload.
AmmoMaximum:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:61
The reserve rounds behind the clip. An absent figure means nothing limits them.
No per-second figure reads it, because a reserve says how long a weapon can keep firing rather than how hard. It is carried so one record answers an ammunition question too.
ArmourPiercing:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:93
The armour piercing rating, against a hull's hardness.
BurstInterval:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:37
The seconds between shots, and between bursts on a burst-fire weapon. Only the combined rate of fire reads it: the per-second figures work off the rate of fire itself.
BurstRateOfFire:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:43
The shots per second within a burst.
BurstRounds:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:40
The shots in one burst.
ChargeTime:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:49
The seconds spent charging before a shot, on a rail gun. Nothing here folds a charge time into the rate of fire or the damage per second.
ClipSize:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:52
The rounds in a clip. An absent size marks a weapon that never stops to reload.
Damage:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:16
The damage per round, or per second on a continuous-fire weapon.
DamageComponents:
DamageComponents?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:22
The exact damage amounts, which are authoritative for the split where stated.
DamageDistribution:
DamageDistribution?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:19
How the damage splits by type. An absent split reads as all absolute.
DistributorDraw:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:69
The weapons-capacitor draw per shot, in megawatts, and per second when continuous.
FalloffRange:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:84
The range at which damage starts to drop off, in metres. An absent range means full damage through the largest range, and none beyond it.
MaximumRange:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:78
The largest range, in metres. An absent range caps nothing.
PowerDraw:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:75
The power draw, in megawatts, echoed through to the metrics.
ProjectileRange:
ProjectileRangeBoundaries?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:90
The projectile boundary parameters, which are not effective distances. A falloff calculation ignores them either way.
RateOfFire:
double?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:31
The shots per second, burst pattern folded in. An absent rate marks a continuous-fire weapon, whose per-second stats are used as they stand.
ReloadTime:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:64
The seconds one clip takes to reload.
RoundsPerShot:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:25
The rounds fired per shot.
ThermalLoad:
double
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:72
The heat per shot, and per second when continuous.
staticFromModule(module):WeaponStats
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Weapons.cs:99
Reads a weapon's stats off a catalogue or fitted module.
The module, post-engineering.
The stats the module carries.
ArgumentNullException
module is null.