mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-13 12:21:11 +03:00
18 lines
506 B
C#
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";
|
|
}
|