2024-09-27 21:52:15 +03:00
|
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
using Robust.Shared.Prototypes;
|
2024-04-17 11:36:02 +07:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared._White.TTS;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Apply TTS for entity chat say messages
|
|
|
|
|
|
/// </summary>
|
2024-09-27 21:52:15 +03:00
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2024-04-17 11:36:02 +07:00
|
|
|
|
// 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";
|
2024-09-27 21:52:15 +03:00
|
|
|
|
}
|