* Random TTS Borg * Правки * Правки №2 * fix bezdarnost * fix bezdarnost 2 --------- Co-authored-by: drdth <drdtheuser@gmail.com>
19 lines
584 B
C#
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";
|
|
}
|