fish-station/Content.Shared/MedicalScanner/HealthAnalyzerScannedUserMessage.cs
2025-09-27 00:48:54 +03:00

32 lines
1.1 KiB
C#

using Robust.Shared.Serialization;
namespace Content.Shared.MedicalScanner;
/// <summary>
/// On interacting with an entity retrieves the entity UID for use with getting the current damage of the mob.
/// </summary>
[Serializable, NetSerializable]
public sealed class HealthAnalyzerScannedUserMessage : BoundUserInterfaceMessage
{
public readonly NetEntity? TargetEntity;
public float Temperature;
public float BloodLevel;
public bool? ScanMode;
public bool? Bleeding;
public bool? Unrevivable;
public float? HungerLevel;
public float? ThirstLevel;
public HealthAnalyzerScannedUserMessage(NetEntity? targetEntity, float temperature, float bloodLevel, bool? scanMode, bool? bleeding, bool? unrevivable, float? hungerLevel = null, float? thirstLevel = null)
{
TargetEntity = targetEntity;
Temperature = temperature;
BloodLevel = bloodLevel;
ScanMode = scanMode;
Bleeding = bleeding;
Unrevivable = unrevivable;
HungerLevel = hungerLevel;
ThirstLevel = thirstLevel;
}
}