DotNet.Materials.Record.Material - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Materials / Material
Defined in: dotnet/src/EliteDangerousAlmanac/Materials/Material.cs:23
One engineering material and how it is classified.
A material is an immutable value: two materials with the same fields compare equal. The category comes from the catalogue the record lives in. There is no separate rarity field — the grade is the rarity.
new Material(
Category,Symbol,Name,ElementSymbol,Grade,Line)
Which category this material belongs to.
string
Frontier's internal symbol, such as GridResistors — the id the player journal reports, matched without regard to case. This is the same field, with the same meaning, as the symbol on a ship or outfitting module.
string
Display name, such as Grid Resistors.
string?
The chemical element symbol for a raw material, such as Fe for iron. Only raw materials, which are chemical elements, have one; a manufactured or encoded material has null.
The material grade, 1 to 5. Raw materials only reach 4.
The in-game line (group) this material sits in.
Category:
MaterialCategory
Which category this material belongs to.
ElementSymbol:
string?
The chemical element symbol for a raw material, such as Fe for iron. Only raw materials, which are chemical elements, have one; a manufactured or encoded material has null.
Grade:
MaterialGrade
The material grade, 1 to 5. Raw materials only reach 4.
Line:
MaterialLine
The in-game line (group) this material sits in.
Name:
string
Display name, such as Grid Resistors.
Symbol:
string
Frontier's internal symbol, such as GridResistors — the id the player journal reports, matched without regard to case. This is the same field, with the same meaning, as the symbol on a ship or outfitting module.