2023-05-10 09:22:01 +02:00
|
|
|
|
namespace EDPlayerJournal.Entries;
|
|
|
|
|
|
2023-05-11 20:02:53 +02:00
|
|
|
|
public class SupercruiseDestinationDropEntry : Entry {
|
2023-05-10 09:22:01 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Destination type, internal string.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Type { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Destination type, localised string.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? TypeLocalised { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Threat of the destination, if known.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? Threat { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Market ID if it has one.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ulong? MarketID { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
protected override void Initialise() {
|
|
|
|
|
Type = JSON.Value<string>("Type");
|
|
|
|
|
TypeLocalised = JSON.Value<string>("Type_Localised");
|
|
|
|
|
Threat = JSON.Value<long?>("Threat");
|
|
|
|
|
MarketID = JSON.Value<ulong?>("MarketID");
|
|
|
|
|
}
|
|
|
|
|
}
|