add mission failed
This commit is contained in:
parent
e26ccf51f8
commit
1b403b172a
1
Entry.cs
1
Entry.cs
@ -23,6 +23,7 @@ namespace EDJournal {
|
|||||||
{ Events.MissionAbandoned, typeof(MissionAbandonedEntry) },
|
{ Events.MissionAbandoned, typeof(MissionAbandonedEntry) },
|
||||||
{ Events.MissionAccepted, typeof(MissionAcceptedEntry) },
|
{ Events.MissionAccepted, typeof(MissionAcceptedEntry) },
|
||||||
{ Events.MissionCompleted, typeof(MissionCompletedEntry) },
|
{ Events.MissionCompleted, typeof(MissionCompletedEntry) },
|
||||||
|
{ Events.MissionFailed, typeof(MissionFailedEntry) },
|
||||||
{ Events.MissionRedirected, typeof(MissionRedirectedEntry) },
|
{ Events.MissionRedirected, typeof(MissionRedirectedEntry) },
|
||||||
{ Events.MultiSellExplorationData, typeof(MultiSellExplorationDataEntry) },
|
{ Events.MultiSellExplorationData, typeof(MultiSellExplorationDataEntry) },
|
||||||
{ Events.RedeemVoucher, typeof(RedeemVoucherEntry) },
|
{ Events.RedeemVoucher, typeof(RedeemVoucherEntry) },
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
public static readonly string MissionAbandoned = "MissionAbandoned";
|
public static readonly string MissionAbandoned = "MissionAbandoned";
|
||||||
public static readonly string MissionAccepted = "MissionAccepted";
|
public static readonly string MissionAccepted = "MissionAccepted";
|
||||||
public static readonly string MissionCompleted = "MissionCompleted";
|
public static readonly string MissionCompleted = "MissionCompleted";
|
||||||
|
public static readonly string MissionFailed = "MissionFailed";
|
||||||
public static readonly string MissionRedirected = "MissionRedirected";
|
public static readonly string MissionRedirected = "MissionRedirected";
|
||||||
public static readonly string MultiSellExplorationData = "MultiSellExplorationData";
|
public static readonly string MultiSellExplorationData = "MultiSellExplorationData";
|
||||||
public static readonly string RedeemVoucher = "RedeemVoucher";
|
public static readonly string RedeemVoucher = "RedeemVoucher";
|
||||||
|
13
MissionFailedEntry.cs
Normal file
13
MissionFailedEntry.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
namespace EDJournal {
|
||||||
|
public class MissionFailedEntry : Entry {
|
||||||
|
public string Name { get; set; }
|
||||||
|
public int MissionID { get; set; }
|
||||||
|
public int Fine { get; set; }
|
||||||
|
|
||||||
|
protected override void Initialise() {
|
||||||
|
Name = JSON.Value<string>("Name") ?? "";
|
||||||
|
MissionID = JSON.Value<int?>("MissionID") ?? 0;
|
||||||
|
Fine = JSON.Value<int?>("Fine") ?? 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -57,6 +57,7 @@
|
|||||||
<Compile Include="MissionAbandonedEntry.cs" />
|
<Compile Include="MissionAbandonedEntry.cs" />
|
||||||
<Compile Include="MissionAcceptedEntry.cs" />
|
<Compile Include="MissionAcceptedEntry.cs" />
|
||||||
<Compile Include="MissionCompletedEntry.cs" />
|
<Compile Include="MissionCompletedEntry.cs" />
|
||||||
|
<Compile Include="MissionFailedEntry.cs" />
|
||||||
<Compile Include="MissionRedirectedEntry.cs" />
|
<Compile Include="MissionRedirectedEntry.cs" />
|
||||||
<Compile Include="MultiSellExplorationDataEntry.cs" />
|
<Compile Include="MultiSellExplorationDataEntry.cs" />
|
||||||
<Compile Include="PlayerJournal.cs" />
|
<Compile Include="PlayerJournal.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user