DotNet.Equipment.Record.SuitLoadout - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Equipment / SuitLoadout
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitLoadout.cs:128
A suit loadout read from a journal event.
new SuitLoadout(
Suit,Grade,Stats,Modifications,Modifiers,Weapons,ImportOutcomes,SuitId?,LoadoutId?,Name?)
The suit the event names.
int
The grade the suit is owned at.
The suit's stats at that grade.
IReadOnlyList<FittedPersonalModification>
The modifications the suit carries.
IReadOnlyList<PersonalModifier>
The stat changes those modifications make.
IReadOnlyList<FittedPersonalWeapon>
The weapons the loadout fits, in the event's own order.
IReadOnlyList<SuitLoadoutImportOutcome>
Everything the read passed over, in the order it was met.
long? = null
The game's own identifier for the owned suit.
long? = null
The game's own identifier for the saved loadout.
string? = null
The name the player gave the loadout.
Grade:
int
The grade the suit is owned at.
ImportOutcomes:
IReadOnlyList<SuitLoadoutImportOutcome>
Everything the read passed over, in the order it was met.
LoadoutId:
long?
The game's own identifier for the saved loadout.
Modifications:
IReadOnlyList<FittedPersonalModification>
The modifications the suit carries.
Modifiers:
IReadOnlyList<PersonalModifier>
The stat changes those modifications make.
Name:
string?
The name the player gave the loadout.
Stats:
SuitGrade
The suit's stats at that grade.
Suit:
Suit
The suit the event names.
SuitId:
long?
The game's own identifier for the owned suit.
Weapons:
IReadOnlyList<FittedPersonalWeapon>
The weapons the loadout fits, in the event's own order.
staticParse(loadout):SuitLoadout
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/SuitLoadout.cs:156
Reads a suit loadout event.
The event, as the journal states it.
The loadout, with every weapon fitted and every stat change applied.
A read never refuses an entry it can pass over: an unknown weapon, an unknown mount, a grade outside the ladder and an unknown modification are all reported in ImportOutcomes and the rest of the loadout is read. What it refuses is an event it cannot identify a suit from, and one that fits two weapons to one mount.
ArgumentNullException
The event, or a field it must carry, is absent.
FormatException
No catalogue carries the stated suit, or one mount is named twice.