17 lines
531 B
C#
17 lines
531 B
C#
using System.Threading;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Engineering.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class DisassembleOnAltVerbComponent : Component
|
|
{
|
|
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string? Prototype { get; private set; }
|
|
|
|
[DataField("doAfter")]
|
|
public float DoAfterTime = 0;
|
|
}
|
|
}
|