From 541eeb1d4e714ea491fdd905376154833c18b880 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Jan 2025 23:33:18 +0000 Subject: [PATCH] database fully loading --- Core/Models/Eft/Common/Tables/BotBase.cs | 1 + Core/Models/Eft/Common/Tables/ProfileTemplate.cs | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Core/Models/Eft/Common/Tables/BotBase.cs b/Core/Models/Eft/Common/Tables/BotBase.cs index 8e6bd87d..2ca32223 100644 --- a/Core/Models/Eft/Common/Tables/BotBase.cs +++ b/Core/Models/Eft/Common/Tables/BotBase.cs @@ -13,6 +13,7 @@ public class BotBase public string? Id { get; set; } [JsonPropertyName("aid")] + [JsonConverter(typeof(StringToNumberFactoryConverter))] public double? Aid { get; set; } /** SPT property - use to store player id - TODO - move to AID ( account id as guid of choice) */ diff --git a/Core/Models/Eft/Common/Tables/ProfileTemplate.cs b/Core/Models/Eft/Common/Tables/ProfileTemplate.cs index 172f2d3c..9e48cd39 100644 --- a/Core/Models/Eft/Common/Tables/ProfileTemplate.cs +++ b/Core/Models/Eft/Common/Tables/ProfileTemplate.cs @@ -61,6 +61,12 @@ public class TemplateSide [JsonPropertyName("trader")] public ProfileTraderTemplate? Trader { get; set; } + + [JsonPropertyName("equipmentBuilds")] + public object? EquipmentBuilds { get; set; } + + [JsonPropertyName("weaponbuilds")] + public object? WeaponBuilds { get; set; } } public class ProfileTraderTemplate @@ -69,7 +75,7 @@ public class ProfileTraderTemplate public Dictionary? InitialLoyaltyLevel { get; set; } [JsonPropertyName("initialStanding")] - public Dictionary? InitialStanding { get; set; } + public Dictionary? InitialStanding { get; set; } [JsonPropertyName("setQuestsAvailableForStart")] public bool? SetQuestsAvailableForStart { get; set; } @@ -94,4 +100,4 @@ public class ProfileTraderTemplate /** What traders should have their clothing unlocked/purchased on creation */ [JsonPropertyName("purchaseAllClothingByDefaultForTrader")] public List? PurchaseAllClothingByDefaultForTrader { get; set; } -} \ No newline at end of file +}