STBeforeThrowedEvent.cs 392 B

123456789101112131415
  1. using System.Numerics;
  2. namespace Content.Shared._Stalker.Throwing;
  3. [ByRefEvent]
  4. public struct STBeforeThrowedEvent(EntityUid target, EntityUid user, Vector2 direction, float strength)
  5. {
  6. public readonly EntityUid Target = target;
  7. public readonly EntityUid User = user;
  8. public Vector2 Direction = direction;
  9. public float Strength = strength;
  10. public bool Cancelled;
  11. }