namespace EDPlayerJournal.Entries;
public class SupercruiseExitEntry : Entry {
///
/// Taxi?
///
public bool Taxi { get; set; } = false;
///
/// Multicrew or not.
///
public bool Multicrew { get; set; } = false;
///
/// Star system
///
public string? StarSystem { get; set; }
///
/// System address
///
public ulong? SystemAddress { get; set; }
///
/// Body, name e.g. HIP 6182 B 2 a
///
public string? Body { get; set; }
///
/// Body ID
///
public ulong? BodyID { get; set; }
///
/// Body type (star, planet etc.)
///
public string? BodyType { get; set; }
protected override void Initialise() {
Taxi = JSON.Value("Taxi") ?? false;
Multicrew = JSON.Value("Multicrew") ?? false;
StarSystem = JSON.Value("StarSystem");
SystemAddress = JSON.Value("SystemAddress");
Body = JSON.Value("Body");
BodyType = JSON.Value("BodyType");
BodyID = JSON.Value("BodyID");
}
}