# Conflicts: # Content.Client/Options/UI/Tabs/AudioTab.xaml.cs # Content.Client/Preferences/UI/HumanoidProfileEditor.xaml # Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs # Content.Server/Database/ServerDbBase.cs # Content.Server/Entry/EntryPoint.cs # Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs # Content.Server/IoC/ServerContentIoC.cs # Content.Server/VoiceMask/VoiceMaskSystem.cs # Resources/Prototypes/Entities/Mobs/Species/base.yml
17 lines
608 B
C#
17 lines
608 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.VoiceMask;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class VoiceMaskerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)] public string LastSetName = "Unknown";
|
|
[ViewVariables(VVAccess.ReadWrite)] public string? LastSetVoice; // tts
|
|
|
|
[DataField("action", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string Action = "ActionChangeVoiceMask";
|
|
|
|
[DataField("actionEntity")] public EntityUid? ActionEntity;
|
|
}
|