using System.Threading; using Robust.Shared.GameObjects; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.ViewVariables; namespace Content.Server.Engineering.Components { [RegisterComponent] public sealed class DisassembleOnAltVerbComponent : Component { [ViewVariables] [DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer))] public string? Prototype { get; } [ViewVariables] [DataField("doAfter")] public float DoAfterTime = 0; public CancellationTokenSource TokenSource { get; } = new(); } }