using Robust.Shared.Prototypes;
namespace Content.Shared.Language;
[Prototype("language")]
public sealed class LanguagePrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
[DataField("color")]
public Color? Color;
[DataField("fontId")]
public string? FontId;
[DataField("fontSize")]
public int? FontSize;
///
/// Obfuscation method used by this language. By default, uses
///
[DataField("obfuscation")]
public ObfuscationMethod Obfuscation = ObfuscationMethod.Default;
#region utility
///
/// The in-world name of this language, localized.
///
public string Name => Loc.GetString($"language-{ID}-name");
///
/// The in-world description of this language, localized.
///
public string Description => Loc.GetString($"language-{ID}-description");
#endregion utility
}