From 7684438ce2323b9cb0616d0962640bcd218fb9af Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Wed, 26 Jan 2022 09:39:58 +0100 Subject: [PATCH] change types to long --- MarketBuyEntry.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MarketBuyEntry.cs b/MarketBuyEntry.cs index d5a1d36..13856b6 100644 --- a/MarketBuyEntry.cs +++ b/MarketBuyEntry.cs @@ -8,16 +8,16 @@ 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; } + public long Count { get; set; } + public long BuyPrice { get; set; } + public long 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; + Count = JSON.Value("Count") ?? 0; + BuyPrice = JSON.Value("BuyPrice") ?? 0; + TotalCost = JSON.Value("TotalCost") ?? 0; } } }