Files
tbd-station-14/Content.Shared/Access/Components/IdCardComponent.cs
2022-02-16 18:23:23 +11:00

25 lines
743 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 sealed class IdCardComponent : Component
{
[DataField("originalOwnerName")]
public string OriginalOwnerName = default!;
[DataField("fullName")]
public string? FullName;
[DataField("jobTitle")]
public string? JobTitle;
}
}