diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs index 1194c375..d534df21 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs @@ -6,10 +6,10 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record HandbookBase { [JsonPropertyName("Categories")] - public List Categories { get; set; } + public required List Categories { get; init; } [JsonPropertyName("Items")] - public List Items { get; set; } + public required List Items { get; init; } } public record HandbookCategory diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs index fb959b5d..8851eb23 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs @@ -6,7 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record Prestige { [JsonPropertyName("elements")] - public List Elements { get; set; } + public required List Elements { get; init; } } public record PrestigeElement diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs index c65d15cf..c19fecec 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs @@ -6,10 +6,10 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record TraderDialogs { [JsonPropertyName("elements")] - public required List Elements; + public required List Elements { get; init; } } -public record TraderDialogElements +public record TraderDialogElement { [JsonPropertyName("CanBeFirstDialogue")] public bool CanBeFirstDialog { get; set; } = true;