From 47cb08b799349745423b835a1d8da479da21aa2c Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Wed, 26 Jan 2022 09:39:17 +0100 Subject: [PATCH] add type localised to market buy --- MarketBuyEntry.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MarketBuyEntry.cs b/MarketBuyEntry.cs index 93ad0aa..d5a1d36 100644 --- a/MarketBuyEntry.cs +++ b/MarketBuyEntry.cs @@ -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("Type") ?? ""; + TypeLocalised = JSON.Value("Type_Localised") ?? ""; Count = JSON.Value("Count") ?? 0; BuyPrice = JSON.Value("BuyPrice") ?? 0; TotalCost = JSON.Value("TotalCost") ?? 0;