2023-07-08 14:08:32 +10:00
|
|
|
using System.Numerics;
|
2022-12-12 14:33:43 +11:00
|
|
|
using Content.Server.NPC.Components;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.NPC.Events;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Raised directed on an NPC when steering.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ByRefEvent]
|
|
|
|
|
public readonly record struct NPCSteeringEvent(
|
|
|
|
|
NPCSteeringComponent Steering,
|
2023-08-02 10:48:56 +10:00
|
|
|
TransformComponent Transform,
|
|
|
|
|
Vector2 WorldPosition,
|
|
|
|
|
Angle OffsetRotation);
|