* Port forensics from nyanotrasen * port updates * printing * Update Resources/Locale/en-US/forensics/forensics.ftl Co-authored-by: Veritius <veritiusgaming@gmail.com> * Update Content.Server/Forensics/Components/ForensicPadComponent.cs Co-authored-by: Kara <lunarautomaton6@gmail.com> * Update Content.Server/Forensics/Systems/ForensicPadSystem.cs Co-authored-by: Kara <lunarautomaton6@gmail.com> * Update Content.Server/Forensics/Systems/ForensicScannerSystem.cs Co-authored-by: Kara <lunarautomaton6@gmail.com> * partially address reviews * comments * redo the events * handle it * rewrite loc * master fixes Co-authored-by: ike709 <ike709@github.com> Co-authored-by: Veritius <veritiusgaming@gmail.com> Co-authored-by: Kara <lunarautomaton6@gmail.com>
28 lines
921 B
C#
28 lines
921 B
C#
using System.Threading;
|
|
|
|
namespace Content.Server.Forensics
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class ForensicScannerComponent : Component
|
|
{
|
|
public CancellationTokenSource? CancelToken;
|
|
|
|
/// <summary>
|
|
/// A list of fingerprint GUIDs that the forensic scanner found from the <see cref="ForensicsComponent"/> on an entity.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public List<string> Fingerprints = new();
|
|
/// <summary>
|
|
/// A list of glove fibers that the forensic scanner found from the <see cref="ForensicsComponent"/> on an entity.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public List<string> Fibers = new();
|
|
|
|
/// <summary>
|
|
/// The time (in seconds) that it takes to scan an entity.
|
|
/// </summary>
|
|
[DataField("scanDelay")]
|
|
public float ScanDelay = 3.0f;
|
|
}
|
|
}
|