DotNet.Ships.Class.ModuleLimits - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / ModuleLimits
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ModuleLimits.cs:47
The per-ship module-count limits.
The base allowances and the fitted increases reproduce EDSY's own model. See ATTRIBUTIONS.md for credit and licence terms.
staticShipLimits:IReadOnlyDictionary<ModuleLimitGroup, int>
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ModuleLimits.cs:60
The modules allowed in each per-ship limit family, before any fitted increase.
Every figure is a whole-module count above zero. A fitted increase raises this base, so read Calculate for the effective allowance rather than adding grants by hand.
staticCalculate(modules):IReadOnlyList<ModuleLimitUsage>
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ModuleLimits.cs:69
Resolves every per-ship allowance for one fitted module list.
IReadOnlyList<ModuleLimitEntry>
The fitted modules reduced to their limit facts. Every entry carrying a limit group consumes one place, and every increase raises the family it names.
IReadOnlyList<ModuleLimitUsage>
One usage record for every known family, in the order the base limits state them.
ArgumentNullException
modules is null.