criminal records revival (#22510)
This commit is contained in:
@@ -7,46 +7,46 @@ namespace Content.Shared.StationRecords;
|
||||
/// General station record. Indicates the crewmember's name and job.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class GeneralStationRecord
|
||||
public sealed record GeneralStationRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// Name tied to this station record.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string Name = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Age of the person that this station record represents.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public int Age;
|
||||
|
||||
/// <summary>
|
||||
/// Job title tied to this station record.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string JobTitle = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Job icon tied to this station record.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string JobIcon = string.Empty;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string JobPrototype = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Species tied to this station record.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string Species = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gender identity tied to this station record.
|
||||
/// </summary>
|
||||
/// <remarks>Sex should be placed in a medical record, not a general record.</remarks>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public Gender Gender = Gender.Epicene;
|
||||
|
||||
/// <summary>
|
||||
@@ -54,18 +54,18 @@ public sealed class GeneralStationRecord
|
||||
/// This is taken from the 'weight' of a job prototype,
|
||||
/// usually.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public int DisplayPriority;
|
||||
|
||||
/// <summary>
|
||||
/// Fingerprint of the person.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string? Fingerprint;
|
||||
|
||||
/// <summary>
|
||||
/// DNA of the person.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField]
|
||||
public string? DNA;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user