CriminalRecordComponent.cs 521 B

123456789101112131415
  1. using Content.Shared.StatusIcon;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Shared.Security.Components;
  5. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  6. public sealed partial class CriminalRecordComponent : Component
  7. {
  8. /// <summary>
  9. /// The icon that should be displayed based on the criminal status of the entity.
  10. /// </summary>
  11. [DataField, AutoNetworkedField]
  12. public ProtoId<SecurityIconPrototype> StatusIcon = "SecurityIconWanted";
  13. }