2022-06-05 21:37:29 -04:00
|
|
|
using System.Threading;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Medical.Components
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to let doctors use the stethoscope on people.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class WearingStethoscopeComponent : Component
|
2022-06-05 21:37:29 -04:00
|
|
|
{
|
|
|
|
|
public CancellationTokenSource? CancelToken;
|
|
|
|
|
|
|
|
|
|
[DataField("delay")]
|
|
|
|
|
public float Delay = 2.5f;
|
|
|
|
|
|
|
|
|
|
public EntityUid Stethoscope = default!;
|
|
|
|
|
}
|
|
|
|
|
}
|