CatStation/Content.Server/VoiceMask/VoiceMaskComponent.cs
Morb0 5aa1642ba2 Merge remote-tracking branch 'upstream/master' into upstream-sync
# Conflicts:
#	Content.Server/Chat/Systems/ChatSystem.cs
#	Content.Server/VoiceMask/VoiceMaskComponent.cs
#	Resources/Prototypes/SoundCollections/lobby.yml
#	Resources/ServerInfo/Guidebook/Science/MachineUpgrading.xml
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/icon-flash.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/icon.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/meta.json
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-equipped-HELMET.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-inhand-left.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-inhand-right.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-equipped-HELMET.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-inhand-left.png
#	Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-inhand-right.png
#	Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/equipped-OUTERCLOTHING.png
#	Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/icon.png
#	Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/meta.json
#	Resources/Textures/Structures/Walls/solidrust.rsi/full.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/meta.json
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust0.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust1.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust2.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust3.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust4.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust5.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust6.png
#	Resources/Textures/Structures/Walls/solidrust.rsi/solidrust7.png
2024-01-26 01:14:50 +03:00

30 lines
827 B
C#

using Content.Shared.Speech;
using Robust.Shared.Prototypes;
using Content.Shared.Humanoid;
namespace Content.Server.VoiceMask;
[RegisterComponent]
public sealed partial class VoiceMaskComponent : Component
{
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public bool Enabled = true;
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public string VoiceName = "Unknown";
// Corvax-TTS-Start
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public string VoiceId = SharedHumanoidAppearanceSystem.DefaultVoice;
// Corvax-TTS-End
/// <summary>
/// If EnableSpeechVerbModification is true, overrides the speech verb used when this entity speaks.
/// </summary>
[DataField]
[ViewVariables(VVAccess.ReadWrite)]
public ProtoId<SpeechVerbPrototype>? SpeechVerb;
}