using System.Text.Json.Serialization;
namespace SPTarkov.Server.Core.Models.Spt.Config;
public record LocaleConfig : BaseConfig
{
[JsonPropertyName("kind")]
public override string Kind
{
get;
set;
} = "spt-locale";
///
/// e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
///
[JsonPropertyName("gameLocale")]
public required string GameLocale
{
get;
set;
}
///
/// e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
///
[JsonPropertyName("serverLocale")]
public required string ServerLocale
{
get;
set;
}
///
/// Languages server can be translated into
///
[JsonPropertyName("serverSupportedLocales")]
public required List ServerSupportedLocales
{
get;
set;
}
[JsonPropertyName("fallbacks")]
public required Dictionary Fallbacks
{
get;
set;
}
}