using Content.Shared.Chat;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Shared.Radio.Components;
///
/// This component is currently used for providing access to channels for "HeadsetComponent"s.
/// It should be used for intercoms and other radios in future.
///
[RegisterComponent]
public sealed partial class EncryptionKeyComponent : Component
{
[DataField("channels", customTypeSerializer: typeof(PrototypeIdHashSetSerializer))]
public HashSet Channels = new();
///
/// This is the channel that will be used when using the default/department prefix ().
///
[DataField("defaultChannel", customTypeSerializer: typeof(PrototypeIdSerializer))]
public string? DefaultChannel;
}