27 lines
786 B
C#
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;
|
|
}
|
|
}
|