DotNet.Equipment.Class.PersonalModificationCatalogue - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Equipment / PersonalModificationCatalogue
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalModificationCatalogue.cs:47
The personal-modification recipes and what each one costs.
A recipe is keyed by its symbol, such as suit_increasedmeleedamage. The symbol a journal writes is not always the recipe's own: three weapon recipes share one journal spelling across the kinetic, laser and plasma menus, and ModificationJournal resolves that spelling against the weapon it was read from.
The catalogues load from their shared data files on first use. Every record is immutable, so one caller cannot change another caller's answers.
staticAll:IReadOnlyDictionary<string,PersonalModification>
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalModificationCatalogue.cs:58
Every modification recipe, keyed by its symbol.
staticAllCosts:IReadOnlyDictionary<string, IReadOnlyList<PersonalEngineeringIngredient>>
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalModificationCatalogue.cs:61
Every recipe's materials, keyed by the recipe's symbol.
staticFind(symbol):PersonalModification?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalModificationCatalogue.cs:82
Finds a modification recipe by its symbol.
string?
The symbol, such as weapon_scope.
The recipe, or null for a symbol no recipe carries.
Case and surrounding whitespace are ignored. An absent symbol is a miss.
staticFindCost(symbol):IReadOnlyList<PersonalEngineeringIngredient>?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/PersonalModificationCatalogue.cs:92
Finds what one modification recipe costs.
string?
The recipe's symbol, such as weapon_scope.
IReadOnlyList<PersonalEngineeringIngredient>?
The materials the recipe asks for, or null for a symbol no recipe carries.
Case and surrounding whitespace are ignored. An absent symbol is a miss.