2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
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 market.json file. Contains details about all available commodities available at the current station.
/// </summary>
public class MarketFile : JournalBase
{
public override string Event => "Market";
/// <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>
/// Type of station where the market is located.
/// </summary>
public string StationType { get; init; }
/// <summary>
/// Name of star system where the market is located.
/// </summary>
public string StarSystem { get; init; }
/// <summary>
/// List of all commodities available in the market.
/// </summary>
public ImmutableList<MarketItem> Items { get; init; }
}