using Content.Shared.Actions;
using Robust.Shared.Prototypes;
namespace Content.Shared.Magic.Events;
public sealed partial class InstantSpawnSpellEvent : InstantActionEvent, ISpeakSpell
{
///
/// What entity should be spawned.
///
[DataField(required: true)]
public EntProtoId Prototype;
[DataField]
public bool PreventCollideWithCaster = true;
[DataField]
public string? Speech { get; private set; }
///
/// Gets the targeted spawn positons; may lead to multiple entities being spawned.
///
[DataField]
public MagicInstantSpawnData PosData = new TargetCasterPos();
}