mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Add Startup Events to Database
Now emit startup events on conneciton Some events still to add
This commit is contained in:
@ -6,6 +6,6 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class BackpackChange : JournalBase
|
||||
{
|
||||
public override string Event => "BackpackChange";
|
||||
public ImmutableList<BackpackItemChange> Added { get; init; }
|
||||
public ImmutableList<BackpackItemChange> Removed { get; init; }
|
||||
public IReadOnlyCollection<BackpackItemChange> Added { get; init; }
|
||||
public IReadOnlyCollection<BackpackItemChange> Removed { get; init; }
|
||||
}
|
@ -6,8 +6,8 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class BackpackMaterials : JournalBase
|
||||
{
|
||||
public override string Event => "BackpackMaterials";
|
||||
public ImmutableList<BackpackItem> Items { get; init; }
|
||||
public ImmutableList<BackpackItem> Components { get; init; }
|
||||
public ImmutableList<BackpackItem> Consumables { get; init; }
|
||||
public ImmutableList<BackpackItem> Data { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Items { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Components { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Consumables { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Data { get; init; }
|
||||
}
|
@ -15,5 +15,5 @@ public class BuyMicroResources : JournalBase
|
||||
public int Price { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public int TotalCount { get; init; }
|
||||
public ImmutableList<MicroResource> MicroResources { get; init; }
|
||||
public IReadOnlyCollection<MicroResource> MicroResources { get; init; }
|
||||
}
|
@ -6,6 +6,6 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class CreateSuitLoadout : DeleteSuitLoadout
|
||||
{
|
||||
public override string Event => "CreateSuitLoadout";
|
||||
public ImmutableList<SuitModule> Modules { get; init; }
|
||||
public ImmutableList<string> SuitMods { get; init; }
|
||||
public IReadOnlyCollection<SuitModule> Modules { get; init; }
|
||||
public ICollection<string> SuitMods { get; init; }
|
||||
}
|
@ -6,7 +6,7 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class SellMicroResources : JournalBase
|
||||
{
|
||||
public override string Event => "SellMicroResources";
|
||||
public ImmutableList<MicroResource> MicroResources { get; init; }
|
||||
public IReadOnlyCollection<MicroResource> MicroResources { get; init; }
|
||||
public int Price { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
}
|
@ -7,5 +7,5 @@ public class SellOrganicData : JournalBase
|
||||
{
|
||||
public override string Event => "SellOrganicData";
|
||||
public ulong MarketID { get; init; }
|
||||
public ImmutableList<BioData> BioData { get; init; }
|
||||
public IReadOnlyCollection<BioData> BioData { get; init; }
|
||||
}
|
@ -6,8 +6,8 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class ShipLockerMaterials : JournalBase
|
||||
{
|
||||
public override string Event => "ShipLockerMaterials";
|
||||
public ImmutableList<BackpackItem> Items { get; init; }
|
||||
public ImmutableList<BackpackItem> Components { get; init; }
|
||||
public ImmutableList<BackpackItem> Consumables { get; init; }
|
||||
public ImmutableList<BackpackItem> Data { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Items { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Components { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Consumables { get; init; }
|
||||
public IReadOnlyCollection<BackpackItem> Data { get; init; }
|
||||
}
|
@ -7,7 +7,7 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class TradeMicroResources : JournalBase
|
||||
{
|
||||
public override string Event => "TradeMicroResources";
|
||||
public ImmutableList<MicroResource> Offered { get; init; }
|
||||
public IReadOnlyCollection<MicroResource> Offered { get; init; }
|
||||
public string Received { get; init; }
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public MicroCategory Category { get; init; }
|
||||
|
@ -6,5 +6,5 @@ namespace Observatory.Framework.Files.Journal.Odyssey;
|
||||
public class TransferMicroResources : JournalBase
|
||||
{
|
||||
public override string Event => "TransferMicroResources";
|
||||
public ImmutableList<MicroTransfer> Transfers { get; init; }
|
||||
public IReadOnlyCollection<MicroTransfer> Transfers { get; init; }
|
||||
}
|
Reference in New Issue
Block a user