ForensicScannerEvent.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Forensics
  3. {
  4. [Serializable, NetSerializable]
  5. public sealed class ForensicScannerBoundUserInterfaceState : BoundUserInterfaceState
  6. {
  7. public readonly List<string> Fingerprints = new();
  8. public readonly List<string> Fibers = new();
  9. public readonly List<string> TouchDNAs = new();
  10. public readonly List<string> SolutionDNAs = new();
  11. public readonly List<string> Residues = new();
  12. public readonly string LastScannedName = string.Empty;
  13. public readonly TimeSpan PrintCooldown = TimeSpan.Zero;
  14. public readonly TimeSpan PrintReadyAt = TimeSpan.Zero;
  15. public ForensicScannerBoundUserInterfaceState(
  16. List<string> fingerprints,
  17. List<string> fibers,
  18. List<string> touchDnas,
  19. List<string> solutionDnas,
  20. List<string> residues,
  21. string lastScannedName,
  22. TimeSpan printCooldown,
  23. TimeSpan printReadyAt)
  24. {
  25. Fingerprints = fingerprints;
  26. Fibers = fibers;
  27. TouchDNAs = touchDnas;
  28. SolutionDNAs = solutionDnas;
  29. Residues = residues;
  30. LastScannedName = lastScannedName;
  31. PrintCooldown = printCooldown;
  32. PrintReadyAt = printReadyAt;
  33. }
  34. }
  35. [Serializable, NetSerializable]
  36. public enum ForensicScannerUiKey : byte
  37. {
  38. Key
  39. }
  40. [Serializable, NetSerializable]
  41. public sealed class ForensicScannerPrintMessage : BoundUserInterfaceMessage
  42. {
  43. }
  44. [Serializable, NetSerializable]
  45. public sealed class ForensicScannerClearMessage : BoundUserInterfaceMessage
  46. {
  47. }
  48. }