add type localised to market buy
This commit is contained in:
parent
370cd09866
commit
47cb08b799
@ -7,12 +7,14 @@ using System.Threading.Tasks;
|
||||
namespace EDJournal {
|
||||
public class MarketBuyEntry : Entry {
|
||||
public string Type { get; set; }
|
||||
public string TypeLocalised { get; set; }
|
||||
public int Count { get; set; }
|
||||
public int BuyPrice { get; set; }
|
||||
public int TotalCost { get; set; }
|
||||
|
||||
protected override void Initialise() {
|
||||
Type = JSON.Value<string>("Type") ?? "";
|
||||
TypeLocalised = JSON.Value<string>("Type_Localised") ?? "";
|
||||
Count = JSON.Value<int?>("Count") ?? 0;
|
||||
BuyPrice = JSON.Value<int?>("BuyPrice") ?? 0;
|
||||
TotalCost = JSON.Value<int?>("TotalCost") ?? 0;
|
||||
|
Loading…
Reference in New Issue
Block a user