using System.Collections.Generic; using Content.Shared.Access.Systems; using Robust.Shared.Analyzers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set; using Robust.Shared.ViewVariables; namespace Content.Shared.Access.Components { /// /// Simple mutable access provider found on ID cards and such. /// [RegisterComponent] [Friend(typeof(AccessSystem))] public sealed class AccessComponent : Component { [DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer))] public HashSet Tags = new(); [DataField("groups", customTypeSerializer: typeof(PrototypeIdHashSetSerializer))] public HashSet Groups = new(); } }