ReplacementAccentComponent.cs 513 B

123456789101112131415
  1. using Content.Server.Speech.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Server.Speech.Components;
  4. /// <summary>
  5. /// Replaces full sentences or words within sentences with new strings.
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class ReplacementAccentComponent : Component
  9. {
  10. [DataField(customTypeSerializer: typeof(PrototypeIdSerializer<ReplacementAccentPrototype>), required: true)]
  11. public string Accent = default!;
  12. }