d14e7cc155
Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
23 lines
689 B
C#
23 lines
689 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Utils.Json;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Spt.Server;
|
|
|
|
public record LocaleBase
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
/// DO NOT USE THIS PROPERTY DIRECTLY, USE LOCALESERVICE INSTEAD
|
|
/// THIS IS LAZY LOADED AND YOUR CHANGES WILL NOT BE SAVED
|
|
/// </summary>
|
|
[JsonPropertyName("global")]
|
|
public required Dictionary<string, LazyLoad<Dictionary<string, string>>> Global { get; init; }
|
|
|
|
[JsonPropertyName("menu")]
|
|
public required Dictionary<string, Dictionary<string, object>> Menu { get; init; }
|
|
|
|
[JsonPropertyName("languages")]
|
|
public required Dictionary<string, string> Languages { get; init; }
|
|
}
|