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