Files
OldThink/Content.Shared/_White/TTS/SharedTTSComponent.cs
Jabak f175ef4c3b Random TTS Borg (#701)
* Random TTS Borg

* Правки

* Правки №2

* fix bezdarnost

* fix bezdarnost 2

---------

Co-authored-by: drdth <drdtheuser@gmail.com>
2024-09-27 21:52:15 +03:00

19 lines
584 B
C#

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]
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Eugene";
}