2021-08-26 11:29:11 +02:00
|
|
|
|
|
|
|
|
|
namespace EDJournal {
|
|
|
|
|
public class MissionAcceptedEntry : Entry {
|
2022-02-14 17:44:41 +01:00
|
|
|
|
public string Faction { get; set; }
|
|
|
|
|
public string TargetFaction { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string LocalisedName { get; set; }
|
|
|
|
|
public string LocalisedTargetType { get; set; }
|
|
|
|
|
public int KillCount { get; set; }
|
|
|
|
|
public ulong MissionID { get; set; }
|
|
|
|
|
public long Reward { get; set; }
|
2021-08-26 11:29:11 +02:00
|
|
|
|
|
|
|
|
|
protected override void Initialise() {
|
2022-02-14 17:44:41 +01:00
|
|
|
|
Faction = JSON.Value<string>("Faction") ?? "";
|
|
|
|
|
TargetFaction = JSON.Value<string>("TargetFaction") ?? "";
|
|
|
|
|
Name = JSON.Value<string>("Name") ?? "";
|
|
|
|
|
LocalisedName = JSON.Value<string>("LocalisedName") ?? "";
|
|
|
|
|
LocalisedTargetType = JSON.Value<string>("TargetType_Localised") ?? "";
|
|
|
|
|
KillCount = JSON.Value<int?>("KillCount") ?? 0;
|
|
|
|
|
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
|
|
|
|
Reward = JSON.Value<long?>("Reward") ?? 0;
|
2021-08-26 11:29:11 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|