Files
tbd-station-14/Content.Shared/Access/Components/IdCardComponent.cs
2021-12-16 21:42:02 +11:00

27 lines
786 B
C#

using Content.Shared.Access.Systems;
using Content.Shared.PDA;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Shared.Access.Components
{
// TODO BUI NETWORKING if ever clients can open their own BUI's (id card console, pda), then this data should be
// networked.
[RegisterComponent]
[Friend(typeof(SharedIdCardSystem), typeof(SharedPDASystem))]
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;
}
}