Files
crystall-punk-14/Content.Server/Resist/CanEscapeInventoryComponent.cs

19 lines
491 B
C#
Raw Normal View History

using System.Threading;
namespace Content.Server.Resist;
[RegisterComponent]
public sealed class CanEscapeInventoryComponent : Component
{
/// <summary>
2022-08-10 04:37:20 -04:00
/// Base doafter length for uncontested breakouts.
/// </summary>
2022-08-10 04:37:20 -04:00
[DataField("baseResistTime")]
public float BaseResistTime = 5f;
/// <summary>
/// Cancellation token used to cancel the DoAfter if the mob is removed before it's complete
/// </summary>
public CancellationTokenSource? CancelToken;
}