more serialization and other fixes
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Ragfair;
|
||||
using Core.Models.Enums;
|
||||
using Core.Utils.Json;
|
||||
using Core.Utils.Json.Converters;
|
||||
|
||||
namespace Core.Models.Eft.Common.Tables;
|
||||
@@ -293,6 +294,9 @@ public class BotBaseInventory
|
||||
|
||||
[JsonPropertyName("favoriteItems")]
|
||||
public List<string>? FavoriteItems { get; set; }
|
||||
|
||||
[JsonPropertyName("hideoutCustomizationStashId")]
|
||||
public string? HideoutCustomizationStashId { get; set; }
|
||||
}
|
||||
|
||||
public class BaseJsonSkills
|
||||
@@ -304,8 +308,8 @@ public class BaseJsonSkills
|
||||
|
||||
public class Skills
|
||||
{
|
||||
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
|
||||
public Dictionary<SkillTypes, Common>? Common { get; set; }
|
||||
[JsonConverter(typeof(DictionaryOfListOrTConverter))]
|
||||
public Dictionary<SkillTypes, ListOrT<Common>>? Common { get; set; }
|
||||
|
||||
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
|
||||
public Dictionary<string, Mastering>? Mastering { get; set; }
|
||||
@@ -681,7 +685,7 @@ public class LastCompleted
|
||||
|
||||
public class Notes
|
||||
{
|
||||
[JsonPropertyName("notes")]
|
||||
[JsonPropertyName("Notes")]
|
||||
public List<Note>? DataNotes { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user