From 09914d231f190e20a5702da7b85ddf336750b45d Mon Sep 17 00:00:00 2001 From: CWX Date: Mon, 13 Jan 2025 21:57:50 +0000 Subject: [PATCH] fix typing --- Core/Models/Eft/Common/PmcData.cs | 2 +- Core/Models/Eft/Common/Tables/BotBase.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Models/Eft/Common/PmcData.cs b/Core/Models/Eft/Common/PmcData.cs index e9e7d94a..6e7b1ffd 100644 --- a/Core/Models/Eft/Common/PmcData.cs +++ b/Core/Models/Eft/Common/PmcData.cs @@ -8,7 +8,7 @@ public class PmcData : BotBase { [JsonPropertyName("Prestige")] [JsonConverter(typeof(ArrayToObjectFactoryConverter))] - public Tables.Prestige Prestige { get; set; } + public Tables.Prestige? Prestige { get; set; } } public class PostRaidPmcData : BotBase diff --git a/Core/Models/Eft/Common/Tables/BotBase.cs b/Core/Models/Eft/Common/Tables/BotBase.cs index 6c6f1b41..f76911fa 100644 --- a/Core/Models/Eft/Common/Tables/BotBase.cs +++ b/Core/Models/Eft/Common/Tables/BotBase.cs @@ -93,7 +93,7 @@ public class BotBase [JsonPropertyName("WishList")] [JsonConverter(typeof(ArrayToObjectFactoryConverter))] - public Dictionary? WishList { get; set; } + public DictionaryOrList? WishList { get; set; } [JsonPropertyName("moneyTransferLimitData")] public MoneyTransferLimits? MoneyTransferLimitData { get; set; } @@ -165,7 +165,7 @@ public class Info [JsonPropertyName("lockedMoveCommands")] public bool? LockedMoveCommands { get; set; } - public long? SavageLockTime { get; set; } + public double? SavageLockTime { get; set; } public long? LastTimePlayedAsSavage { get; set; } public BotInfoSettings? Settings { get; set; } public long? NicknameChangeDate { get; set; }