1
0

ForensicsComponent.cs 928 B

12345678910111213141516171819202122232425262728293031
  1. namespace Content.Server.Forensics
  2. {
  3. [RegisterComponent]
  4. public sealed partial class ForensicsComponent : Component
  5. {
  6. [DataField("fingerprints")]
  7. public HashSet<string> Fingerprints = new();
  8. [DataField("fibers")]
  9. public HashSet<string> Fibers = new();
  10. [DataField("dnas")]
  11. public HashSet<string> DNAs = new();
  12. [DataField("residues")]
  13. public HashSet<string> Residues = new();
  14. /// <summary>
  15. /// How close you must be to wipe the prints/blood/etc. off of this entity
  16. /// </summary>
  17. [DataField("cleanDistance")]
  18. public float CleanDistance = 1.5f;
  19. /// <summary>
  20. /// Can the DNA be cleaned off of this entity?
  21. /// e.g. you can wipe the DNA off of a knife, but not a cigarette
  22. /// </summary>
  23. [DataField("canDnaBeCleaned")]
  24. public bool CanDnaBeCleaned = true;
  25. }
  26. }