Validate PresetIdCardComponent.JobName prototype ids (#21361)
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Access.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed partial class PresetIdCardComponent : Component
|
||||
{
|
||||
[DataField("job")]
|
||||
public string? JobName;
|
||||
public ProtoId<JobPrototype>? JobName;
|
||||
|
||||
[DataField("name")]
|
||||
public string? IdName;
|
||||
|
||||
Reference in New Issue
Block a user