23 lines
593 B
C#
23 lines
593 B
C#
using Content.Shared.Actions;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class InstantSpawnSpellEvent : InstantActionEvent
|
|
{
|
|
/// <summary>
|
|
/// What entity should be spawned.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId Prototype;
|
|
|
|
[DataField]
|
|
public bool PreventCollideWithCaster = true;
|
|
|
|
/// <summary>
|
|
/// Gets the targeted spawn positons; may lead to multiple entities being spawned.
|
|
/// </summary>
|
|
[DataField]
|
|
public MagicInstantSpawnData PosData = new TargetCasterPos();
|
|
}
|