HealthAnalyzerScannedUserMessage.cs 896 B

12345678910111213141516171819202122232425262728
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.MedicalScanner;
  3. /// <summary>
  4. /// On interacting with an entity retrieves the entity UID for use with getting the current damage of the mob.
  5. /// </summary>
  6. [Serializable, NetSerializable]
  7. public sealed class HealthAnalyzerScannedUserMessage : BoundUserInterfaceMessage
  8. {
  9. public readonly NetEntity? TargetEntity;
  10. public float Temperature;
  11. public float BloodLevel;
  12. public bool? ScanMode;
  13. public bool? Bleeding;
  14. public bool? Unrevivable;
  15. public HealthAnalyzerScannedUserMessage(NetEntity? targetEntity, float temperature, float bloodLevel, bool? scanMode, bool? bleeding, bool? unrevivable)
  16. {
  17. TargetEntity = targetEntity;
  18. Temperature = temperature;
  19. BloodLevel = bloodLevel;
  20. ScanMode = scanMode;
  21. Bleeding = bleeding;
  22. Unrevivable = unrevivable;
  23. }
  24. }