using System.Threading; using Content.Shared.Tools; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Tools.Components; [RegisterComponent] public sealed class LatticeCuttingComponent : Component { [ViewVariables] [DataField("toolComponentNeeded")] public bool ToolComponentNeeded = true; [ViewVariables] [DataField("qualityNeeded", customTypeSerializer:typeof(PrototypeIdSerializer))] public string QualityNeeded = "Cutting"; [ViewVariables] [DataField("delay")] public float Delay = 0.25f; [ViewVariables] [DataField("vacuumDelay")] public float VacuumDelay = 1.75f; /// /// Used for do_afters. /// public CancellationTokenSource? CancelTokenSource = null; }