Delta-v/Content.Server/Access/Components/IdCardComponent.cs

25 lines
639 B
C#

using Content.Server.Access.Systems;
using Content.Server.PDA;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Access.Components
{
[RegisterComponent]
[Friend(typeof(IdCardSystem), typeof(PDASystem))]
public class IdCardComponent : Component
{
public override string Name => "IdCard";
[DataField("originalOwnerName")]
public string OriginalOwnerName = default!;
[DataField("fullName")]
public string? FullName;
[DataField("jobTitle")]
public string? JobTitle;
}
}