mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-21 15:38:52 +03:00
* Revert "[Fix] TTS (#137)" This reverts commitc5bd6b70a2. * Revert "[Fix] Исправление ТТСа (#136)" This reverts commit3759acb84e. * Revert "[Port] TTS (#121)" This reverts commit0db8f3aaa4. * new TTS * new TTS * new TTS * new TTS * fix
20 lines
533 B
C#
20 lines
533 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]
|
|
// ReSharper disable once InconsistentNaming
|
|
public sealed partial class TTSComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Prototype of used voice for TTS.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("voice")]
|
|
public ProtoId<TTSVoicePrototype>? VoicePrototypeId { get; set; }
|
|
}
|