mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 10:51:14 +03:00
# Conflicts: # Content.Client/VoiceMask/VoiceMaskBoundUserInterface.cs # Content.Client/VoiceMask/VoiceMaskNameChangeWindow.xaml # Content.Client/VoiceMask/VoiceMaskNameChangeWindow.xaml.cs # Content.Server/VoiceMask/VoiceMaskSystem.Equip.cs # Content.Server/VoiceMask/VoiceMaskSystem.cs # Content.Server/VoiceMask/VoiceMaskerComponent.cs # Content.Shared/VoiceMask/SharedVoiceMaskSystem.cs # Resources/Prototypes/Catalog/Fills/Lockers/security.yml # Resources/Textures/Interface/Alerts/essence_counter.rsi/essence0.png # Resources/Textures/Interface/Alerts/essence_counter.rsi/essence16.png
23 lines
507 B
C#
23 lines
507 B
C#
using Content.Shared.Speech;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.VoiceMask;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class VoiceMaskerComponent : Component
|
|
{
|
|
[DataField]
|
|
public string LastSetName = "Unknown";
|
|
|
|
[DataField]
|
|
public ProtoId<SpeechVerbPrototype>? LastSpeechVerb;
|
|
|
|
[DataField]
|
|
public string? LastSetVoice; // Corvax-TTS
|
|
|
|
[DataField]
|
|
public EntProtoId Action = "ActionChangeVoiceMask";
|
|
|
|
[DataField]
|
|
public EntityUid? ActionEntity;
|
|
}
|