This commit is contained in:
committed by
GitHub
parent
c5f7c61041
commit
cecf87997b
@@ -7,11 +7,10 @@ namespace Content.Shared.Access.Components
|
||||
/// Simple mutable access provider found on ID cards and such.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(AccessSystem))]
|
||||
[Friend(typeof(AccessSystem))]
|
||||
public sealed class AccessComponent : Component
|
||||
{
|
||||
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<AccessLevelPrototype>))]
|
||||
[Access(typeof(AccessSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public HashSet<string> Tags = new();
|
||||
|
||||
[DataField("groups", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<AccessGroupPrototype>))]
|
||||
|
||||
Reference in New Issue
Block a user