mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 19:01:13 +03:00
# Conflicts: # .github/CODEOWNERS # Content.IntegrationTests/Tests/Preferences/ServerDbSqliteTests.cs # Content.Server/VoiceMask/VoiceMaskSystem.cs # Resources/Prototypes/Datasets/verbs.yml # Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml # Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml # Resources/Prototypes/Maps/aspid.yml # Resources/Prototypes/Maps/barratry.yml # Resources/Prototypes/Maps/cluster.yml # Resources/Prototypes/Maps/kettle.yml # Resources/Prototypes/Maps/origin.yml # Resources/ServerInfo/Guidebook/Cargo/Salvage.xml # Resources/Textures/Structures/Furniture/chairs.rsi/meta.json
16 lines
615 B
C#
16 lines
615 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; // Corvax-TTS
|
|
|
|
[DataField("action", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string Action = "ActionChangeVoiceMask";
|
|
|
|
[DataField("actionEntity")] public EntityUid? ActionEntity;
|
|
}
|