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

EliteDangerousAlmanac / Ships / BuildCredits

Record: BuildCredits

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/BuildMetrics.cs:69

What a build costs in shop credits, at the catalogue prices.

Remarks

A Mercenary article is bought with Merc Coin and has no credit price of its own. It is counted here at the price of the stock module it is built on, and again in Merc Coin at what it really cost. Subtract the stock module's price to quote the credits a shop would ask.

Constructors

new BuildCredits()

new BuildCredits(Total, Hull, Modules, Rebuy, Unpriced)

Parameters

Total

double

The priced hull and modules together, in credits.

Hull

double

The bare hull's price, in credits.

Modules

double

Every priced fitted module, summed. It is a lower bound while anything is unpriced.

Rebuy

double

A twentieth of the total, truncated to credits: what insurance bills to rebuild the fit at the catalogue prices.

Unpriced

IReadOnlyList<UnpricedModule>

The fitted modules no catalogue prices.

Properties

Hull

Hull: double

The bare hull's price, in credits.

Modules

Modules: double

Every priced fitted module, summed. It is a lower bound while anything is unpriced.

Rebuy

Rebuy: double

A twentieth of the total, truncated to credits: what insurance bills to rebuild the fit at the catalogue prices.

Total

Total: double

The priced hull and modules together, in credits.

Unpriced

Unpriced: IReadOnlyList<UnpricedModule>

The fitted modules no catalogue prices.

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