2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-12-17 21:14:58 +01:00

Update Faction handling

some database stuff in progress, to allow for complex querying of the journal
This commit is contained in:
2025-02-11 12:41:59 +11:00
parent f5e6f63d73
commit 3846f0c8ef
9 changed files with 90 additions and 94 deletions

View File

@@ -19,8 +19,8 @@ public class FSDJump : JournalBase
public double FuelUsed { get; init; }
public double FuelLevel { get; init; }
public int BoostUsed { get; init; }
[JsonConverter(typeof(LegacyFactionConverter<SystemFaction>))]
public SystemFaction SystemFaction { get; init; }
[JsonConverter(typeof(LegacyFactionConverter<Faction>))]
public Faction SystemFaction { get; init; }
public string SystemAllegiance { get; init; }
public string SystemEconomy { get; init; }
@@ -33,7 +33,7 @@ public class FSDJump : JournalBase
public string SystemSecurity_Localised { get; init; }
public long Population { get; init; }
public bool Wanted { get; init; }
public List<SystemFaction> Factions { get; init; }
public List<Faction> Factions { get; init; }
public List<Conflict> Conflicts { get; init; }
public IList<string> Powers { get; init; }
public string PowerplayState { get; init; }