add SearchAndRescue event
This commit is contained in:
parent
47fcbdb071
commit
be1f0b72e3
1
Entry.cs
1
Entry.cs
@ -29,6 +29,7 @@ namespace EDJournal {
|
||||
{ Events.MissionRedirected, typeof(MissionRedirectedEntry) },
|
||||
{ Events.MultiSellExplorationData, typeof(MultiSellExplorationDataEntry) },
|
||||
{ Events.RedeemVoucher, typeof(RedeemVoucherEntry) },
|
||||
{ Events.SearchAndRescue, typeof(SearchAndRescueEntry) },
|
||||
{ Events.SellExplorationData, typeof(SellExplorationDataEntry) },
|
||||
{ Events.SellMicroResources, typeof(SellMicroResourcesEntry) },
|
||||
{ Events.SellOrganicData, typeof(SellOrganicDataEntry) },
|
||||
|
@ -18,6 +18,7 @@
|
||||
public static readonly string MissionRedirected = "MissionRedirected";
|
||||
public static readonly string MultiSellExplorationData = "MultiSellExplorationData";
|
||||
public static readonly string RedeemVoucher = "RedeemVoucher";
|
||||
public static readonly string SearchAndRescue = "SearchAndRescue";
|
||||
public static readonly string SellExplorationData = "SellExplorationData";
|
||||
public static readonly string SellMicroResources = "SellMicroResources";
|
||||
public static readonly string SellOrganicData = "SellOrganicData";
|
||||
|
19
SearchAndRescueEntry.cs
Normal file
19
SearchAndRescueEntry.cs
Normal file
@ -0,0 +1,19 @@
|
||||
namespace EDJournal {
|
||||
public class SearchAndRescueEntry : Entry {
|
||||
public long MarketID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string NameLocalised { get; set; }
|
||||
public long Count { get; set; }
|
||||
public long Reward { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
MarketID = JSON.Value<long?>("MarketID") ?? 0;
|
||||
Name = JSON.Value<string>("Name") ?? "";
|
||||
NameLocalised = JSON.Value<string>("Name_Localised");
|
||||
Count = JSON.Value<long?>("Count") ?? 0;
|
||||
Reward = JSON.Value<long?>("Reward") ?? 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -69,6 +69,7 @@
|
||||
<Compile Include="PlayerJournal.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RedeemVoucherEntry.cs" />
|
||||
<Compile Include="SearchAndRescueEntry.cs" />
|
||||
<Compile Include="SellExplorationDataEntry.cs" />
|
||||
<Compile Include="SellMicroResourcesEntry.cs" />
|
||||
<Compile Include="SellOrganicDataEntry.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user