Files
tbd-station-14/Content.Server/NPC/Events/NPCSteeringEvent.cs
2022-12-12 14:33:43 +11:00

25 lines
696 B
C#

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,
float[] Interest,
float[] Danger,
float AgentRadius,
Angle OffsetRotation,
Vector2 WorldPosition)
{
public readonly NPCSteeringComponent Steering = Steering;
public readonly float[] Interest = Interest;
public readonly float[] Danger = Danger;
public readonly float AgentRadius = AgentRadius;
public readonly Angle OffsetRotation = OffsetRotation;
public readonly Vector2 WorldPosition = WorldPosition;
}