using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Language.Components; /// /// Stores data about entities' intrinsic language knowledge. /// [RegisterComponent] public sealed partial class LanguageKnowledgeComponent : Component { /// /// List of languages this entity can speak without any external tools. /// [DataField("speaks", customTypeSerializer: typeof(PrototypeIdListSerializer), required: true)] public List SpokenLanguages = new(); /// /// List of languages this entity can understand without any external tools. /// [DataField("understands", customTypeSerializer: typeof(PrototypeIdListSerializer), required: true)] public List UnderstoodLanguages = new(); }