mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-05 05:47:27 +00:00
* Allow preset id's to have different job names * Senior roles * Sync with Station Records * Change markers
21 lines
507 B
C#
21 lines
507 B
C#
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Access.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class PresetIdCardComponent : Component
|
|
{
|
|
[DataField("job")]
|
|
public ProtoId<JobPrototype>? JobName;
|
|
|
|
[DataField("name")]
|
|
public string? IdName;
|
|
|
|
/// <summary>
|
|
/// DeltaV: Allow changing the job title, even if it'd be otherwise set by the JobPrototype
|
|
/// </summary>
|
|
[DataField("customJob")]
|
|
public string? CustomJobName;
|
|
}
|