From 7c2f4cbaf7baed58a0f862c8a7f7ab398062150c Mon Sep 17 00:00:00 2001 From: Chomp Date: Sat, 15 Jan 2022 17:20:38 +0000 Subject: [PATCH] Addd missing level/side properties --- AssortUpdater/AssortFlattener.cs | 4 +++- AssortValidator.Common/Models/Assort.cs | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/AssortUpdater/AssortFlattener.cs b/AssortUpdater/AssortFlattener.cs index 6f3d3e2..cae0fb3 100644 --- a/AssortUpdater/AssortFlattener.cs +++ b/AssortUpdater/AssortFlattener.cs @@ -146,7 +146,9 @@ namespace AssortUpdater barterItems.Add(new BarterDetails { _tpl = item._tpl, - count = item.count + count = item.count, + level = item.level, + side = item.side, }); } diff --git a/AssortValidator.Common/Models/Assort.cs b/AssortValidator.Common/Models/Assort.cs index 672cb8c..7b1e936 100644 --- a/AssortValidator.Common/Models/Assort.cs +++ b/AssortValidator.Common/Models/Assort.cs @@ -28,6 +28,8 @@ namespace AssortValidator.Common.Models { public double count { get; set; } public string _tpl { get; set; } + public string? side { get; set; } + public int? level { get; set; } } public class Item