ProjectileSpellEvent.cs 403 B

12345678910111213141516
  1. using Content.Shared.Actions;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Magic.Events;
  4. public sealed partial class ProjectileSpellEvent : WorldTargetActionEvent, ISpeakSpell
  5. {
  6. /// <summary>
  7. /// What entity should be spawned.
  8. /// </summary>
  9. [DataField(required: true)]
  10. public EntProtoId Prototype;
  11. [DataField]
  12. public string? Speech { get; private set; }
  13. }