2021-05-04 15:37:16 +02:00
|
|
|
using System.Threading;
|
2021-04-01 00:04:56 -07:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Engineering.Components
|
2021-07-12 01:32:10 -07:00
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class DisassembleOnAltVerbComponent : Component
|
2021-04-01 00:04:56 -07:00
|
|
|
{
|
2021-05-04 15:37:16 +02:00
|
|
|
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public string? Prototype { get; private set; }
|
2021-04-01 00:04:56 -07:00
|
|
|
|
|
|
|
|
[DataField("doAfter")]
|
|
|
|
|
public float DoAfterTime = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|