diff --git a/EDPlayerJournal/Entries/DockedEntry.cs b/EDPlayerJournal/Entries/DockedEntry.cs index d090b08..ba8e4fe 100644 --- a/EDPlayerJournal/Entries/DockedEntry.cs +++ b/EDPlayerJournal/Entries/DockedEntry.cs @@ -2,15 +2,36 @@ namespace EDPlayerJournal.Entries; public class DockedEntry : Entry { + /// + /// Name of the station + /// public string? StationName { get; set; } + + /// + /// Star system of the station + /// public string? StarSystem { get; set; } + + /// + /// System address + /// public ulong? SystemAddress { get; set; } + + /// + /// Faction owning the station. + /// public string? StationFaction { get; set; } + /// + /// State of the station, new in Update 14 + /// + public string? StationState { get; set; } + protected override void Initialise() { StationName = JSON.Value("StationName"); StarSystem = JSON.Value("StarSystem"); SystemAddress = JSON.Value("SystemAddress"); + StationState = JSON.Value("StationState"); JObject? faction = JSON.Value("StationFaction"); if (faction != null) { StationFaction = faction.Value("Name") ?? "";