2022-06-27 20:04:53 -05:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Forensics
|
|
|
|
|
{
|
|
|
|
|
[Serializable, NetSerializable]
|
2022-11-08 16:06:09 -05:00
|
|
|
public sealed class ForensicScannerBoundUserInterfaceState : BoundUserInterfaceState
|
2022-06-27 20:04:53 -05:00
|
|
|
{
|
|
|
|
|
public readonly List<string> Fingerprints = new();
|
|
|
|
|
public readonly List<string> Fibers = new();
|
2023-03-31 07:49:25 +03:00
|
|
|
public readonly List<string> DNAs = new();
|
2023-12-15 04:52:55 -05:00
|
|
|
public readonly List<string> Residues = new();
|
2022-11-08 16:06:09 -05:00
|
|
|
public readonly string LastScannedName = string.Empty;
|
|
|
|
|
public readonly TimeSpan PrintCooldown = TimeSpan.Zero;
|
|
|
|
|
public readonly TimeSpan PrintReadyAt = TimeSpan.Zero;
|
2022-06-27 20:04:53 -05:00
|
|
|
|
2022-11-08 16:06:09 -05:00
|
|
|
public ForensicScannerBoundUserInterfaceState(
|
|
|
|
|
List<string> fingerprints,
|
|
|
|
|
List<string> fibers,
|
2023-03-31 07:49:25 +03:00
|
|
|
List<string> dnas,
|
2023-12-15 04:52:55 -05:00
|
|
|
List<string> residues,
|
2022-11-08 16:06:09 -05:00
|
|
|
string lastScannedName,
|
|
|
|
|
TimeSpan printCooldown,
|
|
|
|
|
TimeSpan printReadyAt)
|
2022-06-27 20:04:53 -05:00
|
|
|
{
|
|
|
|
|
Fingerprints = fingerprints;
|
|
|
|
|
Fibers = fibers;
|
2023-03-31 07:49:25 +03:00
|
|
|
DNAs = dnas;
|
2023-12-15 04:52:55 -05:00
|
|
|
Residues = residues;
|
2022-11-08 16:06:09 -05:00
|
|
|
LastScannedName = lastScannedName;
|
|
|
|
|
PrintCooldown = printCooldown;
|
|
|
|
|
PrintReadyAt = printReadyAt;
|
2022-06-27 20:04:53 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum ForensicScannerUiKey : byte
|
|
|
|
|
{
|
|
|
|
|
Key
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class ForensicScannerPrintMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-11-08 16:06:09 -05:00
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class ForensicScannerClearMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-06-27 20:04:53 -05:00
|
|
|
}
|