Voice mask (#10458)
This commit is contained in:
13
Content.Server/VoiceMask/VoiceMaskerComponent.cs
Normal file
13
Content.Server/VoiceMask/VoiceMaskerComponent.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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";
|
||||
|
||||
[DataField("action", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
|
||||
public string Action = "ChangeVoiceMask";
|
||||
}
|
||||
Reference in New Issue
Block a user