using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Radio.Components;
///
/// This component is required to receive radio message events.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class ActiveRadioComponent : Component
{
///
/// The channels that this radio is listening on.
///
[DataField]
public HashSet> Channels = new();
///
/// A toggle for globally receiving all radio channels.
/// Overrides
///
[DataField]
public bool ReceiveAllChannels;
///
/// If this radio can hear all messages on all maps
///
[DataField]
public bool GlobalReceive = false;
}