CatStation/Content.Shared/Corvax/TTS/Components/TTSComponent.cs
2026-08-04 18:04:02 +07:00

18 lines
506 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Corvax.TTS;
/// <summary>
/// Apply TTS for entity chat say messages
/// </summary>
[RegisterComponent, NetworkedComponent]
// ReSharper disable once InconsistentNaming
public sealed partial class TTSComponent : Component
{
/// <summary>
/// Prototype of used voice for TTS.
/// </summary>
[DataField("voice")]
public ProtoId<TTSVoicePrototype>? VoicePrototypeId { get; set; } = "Taskmaster";
}