PathRouteMessage.cs 476 B

12345678910111213141516171819
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.NPC;
  3. /// <summary>
  4. /// Debug message containing a pathfinding route.
  5. /// </summary>
  6. [Serializable, NetSerializable]
  7. public sealed class PathRouteMessage : EntityEventArgs
  8. {
  9. public List<DebugPathPoly> Path;
  10. public Dictionary<DebugPathPoly, float> Costs;
  11. public PathRouteMessage(List<DebugPathPoly> path, Dictionary<DebugPathPoly, float> costs)
  12. {
  13. Path = path;
  14. Costs = costs;
  15. }
  16. }