using Robust.Shared.GameStates;
namespace Content.Shared.DeviceNetwork.Components;
///
/// Allow entities to jam DeviceNetwork packets.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class DeviceNetworkJammerComponent : Component
{
///
/// Range where packets will be jammed. This is checked both against the sender and receiver.
///
[DataField, AutoNetworkedField]
public float Range = 5.0f;
///
/// Device networks that can be jammed. For a list of default NetworkIds see DeviceNetIdDefaults on Content.Server.
/// Network ids are not guaranteed to be limited to DeviceNetIdDefaults.
///
[DataField, AutoNetworkedField]
public HashSet JammableNetworks = [];
}