Files
tbd-station-14/Content.Shared/Access/AccessGroupPrototype.cs
Tayrtahn 86aa82f2b6 Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications

* These can stay
2025-03-19 19:30:31 +01:00

20 lines
622 B
C#

using Content.Shared.Access.Components;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Shared.Access;
/// <summary>
/// Contains a list of access tags that are part of this group.
/// Used by <see cref="AccessComponent"/> to avoid boilerplate.
/// </summary>
[Prototype]
public sealed partial class AccessGroupPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
[DataField("tags", required: true)]
public HashSet<ProtoId<AccessLevelPrototype>> Tags = default!;
}