TeleportSpellEvent.cs 554 B

12345678910111213141516171819
  1. using Content.Shared.Actions;
  2. namespace Content.Shared.Magic.Events;
  3. // TODO: Can probably just be an entity or something
  4. public sealed partial class TeleportSpellEvent : WorldTargetActionEvent, ISpeakSpell
  5. {
  6. [DataField]
  7. public string? Speech { get; private set; }
  8. // TODO: Move to magic component
  9. // TODO: Maybe not since sound specifier is a thing
  10. // Keep here to remind what the volume was set as
  11. /// <summary>
  12. /// Volume control for the spell.
  13. /// </summary>
  14. [DataField]
  15. public float BlinkVolume = 5f;
  16. }