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

19 lines
701 B
C#

using System.Collections.Immutable;
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal.Odyssey;
public class BuyMicroResources : JournalBase
{
public override string Event => "BuyMicroResources";
public string Name { get; init; }
public string Name_Localised { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public MicroCategory Category { get; init; }
public int Count { get; init; }
public int Price { get; init; }
public ulong MarketID { get; init; }
public int TotalCount { get; init; }
public ImmutableList<MicroResource> MicroResources { get; init; }
}