using Content.Server.DeviceNetwork.Systems;
namespace Content.Server.DeviceNetwork.Components;
[RegisterComponent]
[Friend(typeof(DeviceListSystem))]
public sealed class DeviceListComponent : Component
{
///
/// The list of devices can or can't connect to, depending on the field.
///
[DataField("devices")]
public HashSet Devices = new();
///
/// Whether the device list is used as an allow or deny list
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField("isAllowList")]
public bool IsAllowList = true;
///
/// Whether this device list also handles incoming device net packets
///
[ViewVariables(VVAccess.ReadWrite)]
[DataField("handleIncoming")]
public bool HandleIncomingPackets = false;
}