| 123456789101112131415161718192021 |
- using Robust.Shared.Prototypes;
- using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
- namespace Content.Server.Engineering.Components
- {
- [RegisterComponent]
- public sealed partial class SpawnAfterInteractComponent : Component
- {
- [DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
- public string? Prototype { get; private set; }
- [DataField("ignoreDistance")]
- public bool IgnoreDistance { get; private set; }
- [DataField("doAfter")]
- public float DoAfterTime = 0;
- [DataField("removeOnInteract")]
- public bool RemoveOnInteract = false;
- }
- }
|