using System.Threading;
namespace Content.Server.Resist;
[RegisterComponent]
public sealed class CanEscapeInventoryComponent : Component
{
///
/// How long it takes to break out of storage. Default at 5 seconds.
///
[ViewVariables]
[DataField("resistTime")]
public float ResistTime = 5f;
///
/// For quick exit if the player attempts to move while already resisting
///
[ViewVariables]
public bool IsResisting = false;
///
/// Cancellation token used to cancel the DoAfter if the mob is removed before it's complete
///
public CancellationTokenSource? CancelToken;
}