NPCSteeringEvent.cs 357 B

1234567891011121314
  1. using System.Numerics;
  2. using Content.Server.NPC.Components;
  3. namespace Content.Server.NPC.Events;
  4. /// <summary>
  5. /// Raised directed on an NPC when steering.
  6. /// </summary>
  7. [ByRefEvent]
  8. public readonly record struct NPCSteeringEvent(
  9. NPCSteeringComponent Steering,
  10. TransformComponent Transform,
  11. Vector2 WorldPosition,
  12. Angle OffsetRotation);