Files
tbd-station-14/Content.Server/DeviceNetwork/Components/NetworkConfiguratorComponent.cs
2022-07-29 12:13:12 +10:00

25 lines
804 B
C#

using Content.Server.DeviceNetwork.Systems;
using Robust.Shared.Audio;
namespace Content.Server.DeviceNetwork.Components;
[RegisterComponent]
[Access(typeof(NetworkConfiguratorSystem))]
public sealed class NetworkConfiguratorComponent : Component
{
/// <summary>
/// The list of devices stored in the configurator-
/// </summary>
[DataField("devices")]
public Dictionary<string, EntityUid> Devices = new();
/// <summary>
/// The entity containing a <see cref="DeviceListComponent"/> this configurator is currently interacting with
/// </summary>
[DataField("activeDeviceList")]
public EntityUid? ActiveDeviceList = null;
[DataField("soundNoAccess")]
public SoundSpecifier SoundNoAccess = new SoundPathSpecifier("/Audio/Machines/custom_deny.ogg");
}