Files
crystall-punk-14/Content.Server/VoiceMask/VoiceMaskComponent.cs

24 lines
620 B
C#
Raw Normal View History

using Content.Shared.Speech;
using Robust.Shared.Prototypes;
2022-09-28 19:22:27 -07:00
namespace Content.Server.VoiceMask;
[RegisterComponent]
public sealed partial class VoiceMaskComponent : Component
2022-09-28 19:22:27 -07:00
{
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public bool Enabled = true;
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public string VoiceName = "Unknown";
2022-09-28 19:22:27 -07:00
/// <summary>
/// If EnableSpeechVerbModification is true, overrides the speech verb used when this entity speaks.
/// </summary>
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public ProtoId<SpeechVerbPrototype>? SpeechVerb;
2022-09-28 19:22:27 -07:00
}