more stuff

This commit is contained in:
Alex
2025-01-08 23:22:23 +00:00
parent cb305a4d54
commit 9be88e76ef
5 changed files with 70 additions and 4 deletions
+1 -2
View File
@@ -308,8 +308,7 @@ public class BaseJsonSkills
public class Skills
{
[JsonConverter(typeof(DictionaryOfListOrTConverter))]
public Dictionary<SkillTypes, ListOrT<Common>>? Common { get; set; }
public DictionaryOrList<string, Common>? Common { get; set; }
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
public Dictionary<string, Mastering>? Mastering { get; set; }
+3 -1
View File
@@ -1,3 +1,4 @@
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
using Core.Models.Eft.Health;
using Core.Models.Enums;
@@ -166,6 +167,7 @@ public class SkillRequirement : QteRequirement
public RequirementType? Type { get; set; } = Models.Enums.Hideout.RequirementType.Skill;
[JsonPropertyName("skillName")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public SkillTypes? SkillName { get; set; }
[JsonPropertyName("skillLevel")]
@@ -254,4 +256,4 @@ public class BodyPartBuffRequirement : QteRequirement
[JsonPropertyName("excluded")]
public bool? Excluded { get; set; }
}
}