reorder class to ensure consistency with existing json

This commit is contained in:
Chomp 2021-08-12 21:30:02 +01:00
parent 2947764a2d
commit 21e079ab17

View File

@ -12,12 +12,12 @@ namespace Generator.Models.Output
experience = new Experience(); experience = new Experience();
health = new Health(); health = new Health();
skills = new Skills(); skills = new Skills();
inventory = new Inventory();
firstName = new List<string>(); firstName = new List<string>();
lastName = new List<string>(); lastName = new List<string>();
difficulty = new Difficulty.Difficulty(); difficulty = new Difficulty.Difficulty();
chances = new Chances(); chances = new Chances();
generation = new GenerationChances(); generation = new GenerationChances();
inventory = new Inventory();
} }
[JsonIgnore] [JsonIgnore]
@ -26,12 +26,12 @@ namespace Generator.Models.Output
public Experience experience { get; set; } public Experience experience { get; set; }
public Health health { get; set; } public Health health { get; set; }
public Skills skills { get; set; } public Skills skills { get; set; }
public Inventory inventory { get; set; }
public List<string> firstName { get; set; } public List<string> firstName { get; set; }
public List<string> lastName { get; set; } public List<string> lastName { get; set; }
public Difficulty.Difficulty difficulty { get; set;} public Difficulty.Difficulty difficulty { get; set;}
public Chances chances { get; set; } public Chances chances { get; set; }
public GenerationChances generation { get; set; } public GenerationChances generation { get; set; }
public Inventory inventory { get; set; }
} }
public class Appearance public class Appearance
{ {