using System.Threading;
using Content.Shared.Disease;
namespace Content.Server.Disease.Components
{
[RegisterComponent]
///
/// For mouth swabs used to collect and process
/// disease samples.
///
public sealed class DiseaseSwabComponent : Component
{
///
/// How long it takes to swab someone.
///
[DataField("swabDelay")]
[ViewVariables]
public float SwabDelay = 2f;
///
/// If this swab has been used
///
public bool Used = false;
///
/// Token for interrupting swabbing do after.
///
public CancellationTokenSource? CancelToken;
///
/// The disease prototype currently on the swab
///
[ViewVariables]
public DiseasePrototype? Disease;
}
}