PathfindingDebugMode.cs 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. namespace Content.Shared.NPC;
  2. [Flags]
  3. public enum PathfindingDebugMode : ushort
  4. {
  5. None = 0,
  6. /// <summary>
  7. /// Show the individual pathfinding breadcrumbs.
  8. /// </summary>
  9. Breadcrumbs = 1 << 0,
  10. /// <summary>
  11. /// Show the pathfinding chunk edges.
  12. /// </summary>
  13. Chunks = 1 << 1,
  14. /// <summary>
  15. /// Shows the stats nearest crumb to the mouse cursor.
  16. /// </summary>
  17. Crumb = 1 << 2,
  18. /// <summary>
  19. /// Shows all of the pathfinding polys.
  20. /// </summary>
  21. Polys = 1 << 3,
  22. /// <summary>
  23. /// Shows the edges between pathfinding polys.
  24. /// </summary>
  25. PolyNeighbors = 1 << 4,
  26. /// <summary>
  27. /// Shows the nearest poly to the mouse cursor.
  28. /// </summary>
  29. Poly = 1 << 5,
  30. /// <summary>
  31. /// Gets a path from the current attached entity to the mouse cursor.
  32. /// </summary>
  33. // Path = 1 << 6,
  34. Routes = 1 << 6,
  35. RouteCosts = 1 << 7,
  36. Steering = 1 << 8,
  37. }