using Content.Server.Spawners.EntitySystems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Spawners.Components;
///
/// When a TimedDespawnComponent" despawns, another one will be spawned in its place.
///
[RegisterComponent, Access(typeof(SpawnOnDespawnSystem))]
public sealed partial class SpawnOnDespawnComponent : Component
{
///
/// Entity prototype to spawn.
///
[DataField(required: true)]
public EntProtoId Prototype = string.Empty;
}