13 lines
515 B
C#
13 lines
515 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 partial class SpawnOnTriggerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string Proto = string.Empty;
|
|
}
|