using Robust.Shared.GameStates; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Radio.Components; /// /// Handles intercom ui and is authoritative on the channels an intercom can access. /// [RegisterComponent, NetworkedComponent] public sealed partial class IntercomComponent : Component { /// /// Does this intercom require popwer to function /// [DataField("requiresPower"), ViewVariables(VVAccess.ReadWrite)] public bool RequiresPower = true; /// /// The list of radio channel prototypes this intercom can choose between. /// [DataField("supportedChannels", customTypeSerializer: typeof(PrototypeIdListSerializer))] public List SupportedChannels = new(); }