diff --git a/ObservatoryFramework/Files/Journal/JournalBase.cs b/ObservatoryFramework/Files/Journal/JournalBase.cs index 486852d..354d78a 100644 --- a/ObservatoryFramework/Files/Journal/JournalBase.cs +++ b/ObservatoryFramework/Files/Journal/JournalBase.cs @@ -221,6 +221,7 @@ using Travel; [JsonDerivedType(typeof(ModuleSellRemote), "ModuleSellRemote")] [JsonDerivedType(typeof(ModuleStore), "ModuleStore")] [JsonDerivedType(typeof(ModuleSwap), "ModuleSwap")] +[JsonDerivedType(typeof(ModuleBuyAndStore), "ModuleBuyAndStore")] [JsonDerivedType(typeof(Outfitting), "Outfitting")] [JsonDerivedType(typeof(PayBounties), "PayBounties")] [JsonDerivedType(typeof(PayFines), "PayFines")] diff --git a/ObservatoryFramework/Files/Journal/StationServices/ModuleBuyAndStore.cs b/ObservatoryFramework/Files/Journal/StationServices/ModuleBuyAndStore.cs new file mode 100644 index 0000000..72b8a51 --- /dev/null +++ b/ObservatoryFramework/Files/Journal/StationServices/ModuleBuyAndStore.cs @@ -0,0 +1,13 @@ +namespace Observatory.Framework.Files.Journal.StationServices; + +public class ModuleBuyAndStore : JournalBase +{ + public override string Event => "ModuleBuyAndStore"; + public ulong MarketID { get; init; } + public string Slot { get; init; } + public string BuyItem { get; init; } + public string BuyItem_Localised { get; init; } + public uint BuyPrice { get; init; } + public string Ship { get; init; } + public ulong ShipID { get; init; } +} \ No newline at end of file