diff --git a/FSDJumpEntry.cs b/FSDJumpEntry.cs index f045c2b..0cb736c 100644 --- a/FSDJumpEntry.cs +++ b/FSDJumpEntry.cs @@ -6,6 +6,8 @@ namespace EDJournal { protected override void Initialise() { SystemAddress = JSON.Value("SystemAddress") ?? 0; StarSystem = JSON.Value("StarSystem"); + StarPos = JSON.Value("StarPos").ToObject(); + var faction = JSON.Value("SystemFaction"); if (faction != null) { SystemFaction = faction.Value("Name"); @@ -21,6 +23,7 @@ namespace EDJournal { } } } + public ulong[] StarPos { get; set; } public string StarSystem { get; set; } public string SystemFaction { get; set; } diff --git a/LocationEntry.cs b/LocationEntry.cs index 897ae96..3e5aa39 100644 --- a/LocationEntry.cs +++ b/LocationEntry.cs @@ -13,6 +13,7 @@ namespace EDJournal { public ulong SystemAddress { get; set; } public string Body { get; set; } public bool Docked { get; set; } + public ulong[] StarPos { get; set; } public List SystemFactions { get; set; } = new List(); @@ -21,6 +22,7 @@ namespace EDJournal { SystemAddress = JSON.Value("SystemAddress") ?? 0; Docked = JSON.Value("Docked") ?? false; StationName = JSON.Value("StationName") ?? ""; + StarPos = JSON.Value("StarPos").ToObject(); JObject systemfaction = JSON.Value("SystemFaction"); if (systemfaction != null) {