Files
tbd-station-14/Content.Server/StationEvents/Components/RandomEntityStorageSpawnRuleComponent.cs
2023-12-24 23:48:58 -07:00

19 lines
596 B
C#

using Content.Server.StationEvents.Events;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.StationEvents.Components;
/// <summary>
/// Spawns a single entity in a random EntityStorage on the station
/// </summary>
[RegisterComponent, Access(typeof(RandomEntityStorageSpawnRule))]
public sealed partial class RandomEntityStorageSpawnRuleComponent : Component
{
/// <summary>
/// The entity to be spawned.
/// </summary>
[DataField(required: true)]
public EntProtoId Prototype;
}