2023-07-29 10:25:27 +02:00
|
|
|
using Content.Shared.StatusIcon;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
|
|
|
|
|
2022-04-15 17:15:25 -04:00
|
|
|
namespace Content.Server.Access.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class AgentIDCardComponent : Component
|
2023-07-22 21:19:51 -07:00
|
|
|
{
|
2023-07-29 10:25:27 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Set of job icons that the agent ID card can show.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("icons", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<StatusIconPrototype>))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public HashSet<string> Icons = new();
|
2023-07-22 21:19:51 -07:00
|
|
|
}
|
2022-04-15 17:15:25 -04:00
|
|
|
}
|