using Content.Shared.Roles; using Robust.Shared.Prototypes; namespace Content.Server.Access.Components; [RegisterComponent] public sealed partial class PresetIdCardComponent : Component { [DataField] public ProtoId? JobName; [DataField] public string? IdName; /// /// DeltaV: Allow changing the job title, even if it'd be otherwise set by the JobPrototype /// [DataField] public string? VirtualJobName; [ViewVariables(VVAccess.ReadOnly)] public string? VirtualJobLocalizedName => (VirtualJobName != null) ? Loc.GetString(VirtualJobName) : null; /// /// DeltaV: Allow changing the job icon, even if it'd be otherwise set by the JobPrototype /// [DataField] public string? VirtualJobIcon; }