2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
pulsar/ObservatoryFramework/Files/OutfittingFile.cs
Ben Parsons efd0b3e0c0 Journals Now processed in own thread
Some invalid journal data is now handled
Journals now use polymorphic deserialization
Added Event names to all journal events
Remove unused controllers
2024-05-24 19:30:12 +10:00

33 lines
1.1 KiB
C#

using System.Collections.Immutable;
using Observatory.Framework.Files.Journal;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files;
/// <summary>
/// Elite Dangerous outfitting.json file. Contains data about ship modules available for purchase at the current station.
/// </summary>
public class OutfittingFile : JournalBase
{
public override string Event => "Outfitting";
/// <summary>
/// Unique ID of current market.
/// </summary>
public ulong MarketID { get; init; }
/// <summary>
/// Name of the station where the market is located.
/// </summary>
public string StationName { get; init; }
/// <summary>
/// Name of the star system where the market is located.
/// </summary>
public string StarSystem { get; init; }
/// <summary>
/// Indicator if the player has access to Horizons content.
/// </summary>
public bool Horizons { get; init; }
/// <summary>
/// List of all available parts in shipyard.
/// </summary>
public ImmutableList<OutfittingModule> Items { get; init; }
}