6
2025-08-05 10:00:54 +03:00

23 lines
694 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Security.Components;
/// <summary>
/// This is used for storing information about a Genpop ID in order to correctly display it on examine.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause]
public sealed partial class GenpopIdCardComponent : Component
{
/// <summary>
/// The crime committed, as a string.
/// </summary>
[DataField, AutoNetworkedField]
public string Crime = string.Empty;
/// <summary>
/// The length of the sentence
/// </summary>
[DataField, AutoNetworkedField, AutoPausedField]
public TimeSpan SentenceDuration;
}