Files
OldThink/Content.Server/VoiceMask/VoiceMaskerComponent.cs
BIGZi0348 3aeaba1865 Even smaller stuff (#690)
* 45 to 44

* Фикс ошибки перевода

* Voice mask translate
2024-09-10 20:20:56 +03:00

24 lines
590 B
C#

using Content.Shared.Speech;
using Robust.Shared.Prototypes;
namespace Content.Server.VoiceMask;
[RegisterComponent]
public sealed partial class VoiceMaskerComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField]
public string LastSetName = "Неизвестный"; // WD translate
[ViewVariables(VVAccess.ReadWrite)]
public string? LastSetVoice; // tts
[DataField]
public ProtoId<SpeechVerbPrototype>? LastSpeechVerb;
[DataField]
public EntProtoId Action = "ActionChangeVoiceMask";
[DataField]
public EntityUid? ActionEntity;
}