2025-02-12 14:21:12 +03:00
|
|
|
using Content.Server.Speech.Prototypes;
|
2021-12-21 12:31:20 -08:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
2025-02-12 14:21:12 +03:00
|
|
|
namespace Content.Server.Speech.Components;
|
2024-05-17 18:33:22 +02:00
|
|
|
|
2025-02-12 14:21:12 +03:00
|
|
|
/// <summary>
|
|
|
|
|
/// Replaces full sentences or words within sentences with new strings.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public sealed partial class ReplacementAccentComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer<ReplacementAccentPrototype>), required: true)]
|
|
|
|
|
public string Accent = default!;
|
2024-05-04 14:11:46 +03:00
|
|
|
|
2021-12-21 12:31:20 -08:00
|
|
|
}
|