* Add more DNA interactions * remove unused import * update based on feedback * Add event for chemistrysystem.injector * move event to shared; transfer dna to implanter * doafter and interaction event fixes * add BreakOnHandChange * doh * use events instead of updating component directly * Add DataFields to ForensicScannerComponent fields * Convert most events to system api call
51 lines
1.5 KiB
C#
51 lines
1.5 KiB
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Forensics
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public sealed class ForensicScannerBoundUserInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public readonly List<string> Fingerprints = new();
|
|
public readonly List<string> Fibers = new();
|
|
public readonly List<string> DNAs = new();
|
|
public readonly List<string> Residues = new();
|
|
public readonly string LastScannedName = string.Empty;
|
|
public readonly TimeSpan PrintCooldown = TimeSpan.Zero;
|
|
public readonly TimeSpan PrintReadyAt = TimeSpan.Zero;
|
|
|
|
public ForensicScannerBoundUserInterfaceState(
|
|
List<string> fingerprints,
|
|
List<string> fibers,
|
|
List<string> dnas,
|
|
List<string> residues,
|
|
string lastScannedName,
|
|
TimeSpan printCooldown,
|
|
TimeSpan printReadyAt)
|
|
{
|
|
Fingerprints = fingerprints;
|
|
Fibers = fibers;
|
|
DNAs = dnas;
|
|
Residues = residues;
|
|
LastScannedName = lastScannedName;
|
|
PrintCooldown = printCooldown;
|
|
PrintReadyAt = printReadyAt;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum ForensicScannerUiKey : byte
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ForensicScannerPrintMessage : BoundUserInterfaceMessage
|
|
{
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ForensicScannerClearMessage : BoundUserInterfaceMessage
|
|
{
|
|
}
|
|
}
|