* DNA component * Commit numba 2 * Added DNA into Station Records Computer * commit numba 3 * commit numba 4 * Vomit also contain DNA component now * fixed DNA field not clearing after scanning another item * commit numba 10 Drinking leaves DNA on an object. Breaking glasses, bottles and beakers leave DNA and leave fingerprints/fibers with 40% chance on glass shards. + lotta fixes * 11 * 12 * 14 * Added DNA guide entry * FIX
48 lines
1.4 KiB
C#
48 lines
1.4 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 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,
|
|
string lastScannedName,
|
|
TimeSpan printCooldown,
|
|
TimeSpan printReadyAt)
|
|
{
|
|
Fingerprints = fingerprints;
|
|
Fibers = fibers;
|
|
DNAs = dnas;
|
|
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
|
|
{
|
|
}
|
|
}
|