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
This commit is contained in:
parent
ae848e036d
commit
efd0b3e0c0
34 changed files with 826 additions and 208 deletions
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
public class BackPack : JournalBase
|
||||
{
|
||||
|
||||
public override string Event => "BackPack";
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@ 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; }
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@ 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; }
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class BookDropship : BookTaxi
|
||||
{
|
||||
public override string Event => "BookDropship";
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class BookTaxi : JournalBase
|
||||
{
|
||||
public override string Event => "BookTaxi";
|
||||
public int Cost { get; init; }
|
||||
public string DestinationSystem { get; init; }
|
||||
public string DestinationLocation { get; init; }
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ 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))]
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class BuySuit : JournalBase
|
||||
{
|
||||
public override string Event => "BuySuit";
|
||||
public string Name { get; init; }
|
||||
public string Name_Localised { get; init; }
|
||||
public int Price { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class BuyWeapon : JournalBase
|
||||
{
|
||||
public override string Event => "BuyWeapon";
|
||||
public string Name { get; init; }
|
||||
public string Name_Localised { get; init; }
|
||||
public int Price { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class CancelDropship : CancelTaxi
|
||||
{
|
||||
public override string Event => "CancelDropship";
|
||||
}
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
public class CancelTaxi : JournalBase
|
||||
{
|
||||
public override string Event => "CancelTaxi";
|
||||
public int Refund { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class CollectItems : JournalBase
|
||||
{
|
||||
public override string Event => "CollectItems";
|
||||
public string Name { get; init; }
|
||||
public string Name_Localised { get; init; }
|
||||
public string Type { get; init; }
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ 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; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DeleteSuitLoadout : JournalBase
|
||||
{
|
||||
public override string Event => "DeleteSuitLoadout";
|
||||
public ulong SuitID { get; init; }
|
||||
public string SuitName { get; init; }
|
||||
public string SuitName_Localised { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class Disembark : JournalBase
|
||||
{
|
||||
public override string Event => "Disembark";
|
||||
public bool SRV { get; init; }
|
||||
public bool Taxi { get; init; }
|
||||
public bool Multicrew { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class DropItems : CollectItems
|
||||
{
|
||||
public override string Event => "DropItems";
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DropShipDeploy : JournalBase
|
||||
{
|
||||
public override string Event => "DropShipDeploy";
|
||||
public string StarSystem { get; init; }
|
||||
public ulong SystemAddress { get; init; }
|
||||
public string Body { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class Embark : Disembark
|
||||
{
|
||||
public override string Event => "Embark";
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class FCMaterials : JournalBase
|
||||
{
|
||||
public override string Event => "FCMaterials";
|
||||
public ulong MarketID { get; init; }
|
||||
public string CarrierName { get; init; }
|
||||
public string CarrierID { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class LoadoutEquipModule : JournalBase
|
||||
{
|
||||
public override string Event => "LoadoutEquipModule";
|
||||
public ulong SuitID { get; init; }
|
||||
public string SuitName { get; init; }
|
||||
public string SuitName_Localised { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class LoadoutRemoveModule : LoadoutEquipModule
|
||||
{
|
||||
public override string Event => "LoadoutRemoveModule";
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue