From 21e079ab177dc2129aa9c13feb21c8f8ac3f8233 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 12 Aug 2021 21:30:02 +0100 Subject: [PATCH] reorder class to ensure consistency with existing json --- Generator/Models/Output/Output.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Generator/Models/Output/Output.cs b/Generator/Models/Output/Output.cs index 69f035e..a9916e2 100644 --- a/Generator/Models/Output/Output.cs +++ b/Generator/Models/Output/Output.cs @@ -12,12 +12,12 @@ namespace Generator.Models.Output experience = new Experience(); health = new Health(); skills = new Skills(); + inventory = new Inventory(); firstName = new List(); lastName = new List(); difficulty = new Difficulty.Difficulty(); chances = new Chances(); generation = new GenerationChances(); - inventory = new Inventory(); } [JsonIgnore] @@ -26,12 +26,12 @@ namespace Generator.Models.Output public Experience experience { get; set; } public Health health { get; set; } public Skills skills { get; set; } + public Inventory inventory { get; set; } public List firstName { get; set; } public List lastName { get; set; } public Difficulty.Difficulty difficulty { get; set;} public Chances chances { get; set; } public GenerationChances generation { get; set; } - public Inventory inventory { get; set; } } public class Appearance {