added enumStringConverter attributes, current issue with list<enum> tho

This commit is contained in:
CWX
2025-02-01 13:33:54 +00:00
parent d1f53e7629
commit d285061057
2 changed files with 4 additions and 1 deletions
@@ -747,9 +747,11 @@ public record Exit
public double? ExfiltrationTimePVE { get; set; }
[JsonPropertyName("ExfiltrationType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public ExfiltrationType? ExfiltrationType { get; set; }
[JsonPropertyName("RequiredSlot")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public EquipmentSlots? RequiredSlot { get; set; }
[JsonPropertyName("Id")]
@@ -778,6 +780,7 @@ public record Exit
public string? _NameLower { get; set; }
[JsonPropertyName("PassageRequirement")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public RequirementState? PassageRequirement { get; set; }
[JsonPropertyName("PlayersCount")]
@@ -216,8 +216,8 @@ public record Props
[JsonPropertyName("DiscardingBlock")]
public bool? DiscardingBlock { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
[JsonPropertyName("DropSoundType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public ItemDropSoundType? DropSoundType { get; set; }
[JsonPropertyName("RagFairCommissionModifier")]