Pathfinder rework (#11452)
This commit is contained in:
19
Content.Shared/NPC/Events/PathRouteMessage.cs
Normal file
19
Content.Shared/NPC/Events/PathRouteMessage.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.NPC;
|
||||
|
||||
/// <summary>
|
||||
/// Debug message containing a pathfinding route.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class PathRouteMessage : EntityEventArgs
|
||||
{
|
||||
public List<DebugPathPoly> Path;
|
||||
public Dictionary<DebugPathPoly, float> Costs;
|
||||
|
||||
public PathRouteMessage(List<DebugPathPoly> path, Dictionary<DebugPathPoly, float> costs)
|
||||
{
|
||||
Path = path;
|
||||
Costs = costs;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user