Skip to content

DotNet.Commodities.Record.Commodity

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

EliteDangerousAlmanac / Commodities / Commodity

Record: Commodity

Defined in: dotnet/src/EliteDangerousAlmanac/Commodities/Commodity.cs:21

One tradable commodity in Frontier's market registry.

Remarks

A pure id, name and group record. This is the commodity registry, not a price sheet, so it carries no buy or sell price, no supply, no demand and no producing station. A rare good's origin station is not carried either, because the library has no station registry to key it against.

Constructors

new Commodity()

new Commodity(Symbol, Name, Category, Rare)

Parameters

Symbol

string

Frontier's internal symbol, such as Platinum — the id the market and the player journal report, matched without regard to case. This is the commodity's key.

Name

string

Display name, such as Platinum.

Category

CommodityCategory

The market group this commodity is sold under.

Rare

bool

Whether this is a rare commodity — a location-specific luxury good produced at a single station — rather than a standard market good. It comes from the catalogue the record lives in.

Properties

Category

Category: CommodityCategory

The market group this commodity is sold under.

Name

Name: string

Display name, such as Platinum.

Rare

Rare: bool

Whether this is a rare commodity — a location-specific luxury good produced at a single station — rather than a standard market good. It comes from the catalogue the record lives in.

Symbol

Symbol: string

Frontier's internal symbol, such as Platinum — the id the market and the player journal report, matched without regard to case. This is the commodity's key.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally