Files
tbd-station-14/Content.Server/Explosion/Components/SpawnOnTriggerComponent.cs
2023-04-26 13:51:48 +10:00

13 lines
507 B
C#

using Content.Server.Explosion.EntitySystems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Explosion.Components;
[RegisterComponent, Access(typeof(TriggerSystem))]
public sealed class SpawnOnTriggerComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string Proto = string.Empty;
}