Files
OldThink/Content.Shared/_White/TTS/SharedTTSComponent.cs

19 lines
582 B
C#
Raw Permalink Normal View History

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._White.TTS;
/// <summary>
/// Apply TTS for entity chat say messages
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
// ReSharper disable once InconsistentNaming
public sealed partial class SharedTTSComponent : Component
{
/// <summary>
/// Prototype of used voice for TTS.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
2025-02-25 21:14:58 +03:00
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Nord";
}