DisassembleOnAltVerbComponent.cs 531 B

12345678910111213141516
  1. using System.Threading;
  2. using Robust.Shared.Prototypes;
  3. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  4. namespace Content.Server.Engineering.Components
  5. {
  6. [RegisterComponent]
  7. public sealed partial class DisassembleOnAltVerbComponent : Component
  8. {
  9. [DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
  10. public string? Prototype { get; private set; }
  11. [DataField("doAfter")]
  12. public float DoAfterTime = 0;
  13. }
  14. }