Fixed inaccuracies on profile creation

This commit is contained in:
Chomp
2025-01-22 14:29:57 +00:00
parent d39b877cba
commit e7d5fda4d8
2 changed files with 10 additions and 2 deletions
+7 -2
View File
@@ -303,8 +303,13 @@ public class ProfileHelper(
FoundInRaidItems = new(),
LastPlayerState = null,
LastSessionDate = 0,
OverallCounters = new(),
SessionCounters = new(),
OverallCounters = new()
{
Items = []
},
SessionCounters = new(){
Items = []
},
SessionExperienceMult = 0,
SurvivorClass = "Unknown",
TotalInGameTime = 0,
@@ -231,6 +231,9 @@ public record BotBaseHealth
public CurrentMax? Hydration { get; set; }
public CurrentMax? Energy { get; set; }
public CurrentMax? Temperature { get; set; }
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
[JsonPropertyName("BodyParts")]
public Dictionary<string, BodyPartHealth>? BodyParts { get; set; }
public double? UpdateTime { get; set; }
public bool? Immortal { get; set; }