* Moved access to ecs * Fixed tests * Moved test to integration * Better IoC * Moved preset ID card * Moved id card to ECS * Moved access component to ECS * Fixed pda access * Final touches Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
24 lines
643 B
C#
24 lines
643 B
C#
using System.Collections.Generic;
|
|
using Content.Server.Access.Systems;
|
|
using Robust.Shared.Analyzers;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.Access.Components
|
|
{
|
|
/// <summary>
|
|
/// Simple mutable access provider found on ID cards and such.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Friend(typeof(AccessSystem))]
|
|
public class AccessComponent : Component
|
|
{
|
|
public override string Name => "Access";
|
|
|
|
[DataField("tags")]
|
|
[ViewVariables]
|
|
public HashSet<string> Tags = new();
|
|
}
|
|
}
|