16 lines
533 B
C#
16 lines
533 B
C#
using Content.Shared.StatusIcon;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
|
|
|
namespace Content.Server.Access.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class AgentIDCardComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Set of job icons that the agent ID card can show.
|
|
/// </summary>
|
|
[DataField("icons", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<StatusIconPrototype>))]
|
|
public HashSet<string> Icons = new();
|
|
}
|
|
}
|