Files
tbd-station-14/Content.Shared/Access/AccessLevelPrototype.cs

22 lines
612 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Access
{
/// <summary>
/// Defines a single access level that can be stored on ID cards and checked for.
/// </summary>
[Prototype("accessLevel")]
public sealed class AccessLevelPrototype : IPrototype
{
[ViewVariables]
[IdDataField]
public string ID { get; private set; } = default!;
/// <summary>
/// The player-visible name of the access level, in the ID card console and such.
/// </summary>
[DataField("name")]
public string? Name { get; set; }
}
}