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

EliteDangerousAlmanac / Ships / AmmunitionCapacity

Record: AmmunitionCapacity

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Ammunition.cs:28

What a module holds when fully rearmed.

Remarks

A reserve of nothing is a different answer and reads as one. A weapon can carry no reserve behind its magazine, and the Plasma Slug effect drives a rail gun's reserve to nothing because the weapon then reloads from the ship's fuel, which is a tank this does not model.

Constructors

new AmmunitionCapacity()

new AmmunitionCapacity(ClipSize, Hopper, Total, Unlimited)

Parameters

ClipSize

double

The rounds a full magazine holds, and the largest loaded clip a journal can report for this module. It is nothing on a module with no magazine, whose whole capacity is the reserve and is drawn from directly: a maintenance unit carries its repair units with no clip to load them into.

Hopper

double

The reserve rounds behind the magazine, and the largest hopper a journal can report. It does not include the magazine, exactly as the journal's own field does not. It is infinite where nothing limits it.

Total

double

The rounds carried when fully rearmed, which is the magazine and the reserve together.

Unlimited

bool

Whether the reserve is unlimited, which is where the record states a magazine but no reserve to refill it from.

Properties

ClipSize

ClipSize: double

The rounds a full magazine holds, and the largest loaded clip a journal can report for this module. It is nothing on a module with no magazine, whose whole capacity is the reserve and is drawn from directly: a maintenance unit carries its repair units with no clip to load them into.

Hopper

Hopper: double

The reserve rounds behind the magazine, and the largest hopper a journal can report. It does not include the magazine, exactly as the journal's own field does not. It is infinite where nothing limits it.

Total

Total: double

The rounds carried when fully rearmed, which is the magazine and the reserve together.

Unlimited

Unlimited: bool

Whether the reserve is unlimited, which is where the record states a magazine but no reserve to refill it from.

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