using Content.Shared.Language; namespace Content.Server.Language; /// /// Raised in order to determine the list of languages the entity can speak and understand at the given moment. /// Typically raised on an entity after a language agent (e.g. a translator) has been added to or removed from them. /// [ByRefEvent] public record struct DetermineEntityLanguagesEvent { /// /// The list of all languages the entity may speak. /// By default, contains the languages this entity speaks intrinsically. /// public HashSet SpokenLanguages = new(); /// /// The list of all languages the entity may understand. /// By default, contains the languages this entity understands intrinsically. /// public HashSet UnderstoodLanguages = new(); public DetermineEntityLanguagesEvent() {} }