mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-18 06:31:14 +03:00
14 lines
553 B
C#
14 lines
553 B
C#
using Content.Shared.Actions.ActionTypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.VoiceMask;
|
|
|
|
[RegisterComponent]
|
|
public sealed class VoiceMaskerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)] public string LastSetName = "Unknown";
|
|
[ViewVariables(VVAccess.ReadWrite)] public string? LastSetVoice; // Corvax-TTS
|
|
|
|
[DataField("action", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
|
|
public string Action = "ChangeVoiceMask";
|
|
}
|