mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 14:07:53 +03:00
* Split ReplacementAccentPrototype and ReplacementAccentComponent * Fixes * Fixes * inheritdoc (cherry picked from commit 0d33e6182c4fdbad89f1e3a0806040e42f9da40c)
16 lines
513 B
C#
16 lines
513 B
C#
using Content.Server.Speech.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
/// <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!;
|
|
|
|
}
|