DotNet.Equipment.Class.SuitCatalogue - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Equipment / SuitCatalogue
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:21
The personal-suit catalogue and the lookups that search it.
A suit is stored once per family, with the stats a grade leaves alone on the family record and the rest under Suit.Grades. The Flight Suit is in the catalogue like any other, and carries the one grade it has.
The catalogue loads from its shared data file on first use. Every record is immutable, so one caller cannot change another caller's answers.
staticAll:IReadOnlyList<Suit>
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:34
Every personal suit, including the Flight Suit no upgrade reaches.
staticFindByFamily(family):Suit?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:40
Finds a suit by its grade-independent family.
string?
The family, such as utilitysuit.
Suit?
The suit, or null for a family no suit carries.
Case and surrounding whitespace are ignored. An absent family is a miss.
staticFindByName(name):Suit?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:47
Finds a suit by its display name.
string?
The display name, such as Maverick Suit.
Suit?
The suit, or null for a name no suit carries.
Case and surrounding whitespace are ignored. An absent name is a miss.
staticFindBySymbol(symbol):SuitIdentity?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:57
Resolves the grade-specific item symbol a journal suit event reports.
string?
The item symbol, such as utilitysuit_class3.
The suit and the grade the symbol names, or null for a symbol no suit carries.
Case and surrounding whitespace are ignored. An absent symbol is a miss.
staticGrade(suit,grade):SuitGrade?
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitCatalogue.cs:66
Reads one suit's stats at one grade.
The suit.
int
The grade, from one through five.
The grade record, or null where the suit has no such grade.
ArgumentNullException
The suit is absent.
ArgumentOutOfRangeException
The grade is not one through five.