Files
OldThink/Content.Shared/NPC/PathfindingDebugMode.cs

49 lines
968 B
C#
Raw Permalink Normal View History

2022-09-30 14:39:48 +10:00
namespace Content.Shared.NPC;
[Flags]
public enum PathfindingDebugMode : ushort
{
None = 0,
/// <summary>
/// Show the individual pathfinding breadcrumbs.
/// </summary>
Breadcrumbs = 1 << 0,
/// <summary>
/// Show the pathfinding chunk edges.
/// </summary>
Chunks = 1 << 1,
/// <summary>
/// Shows the stats nearest crumb to the mouse cursor.
/// </summary>
Crumb = 1 << 2,
/// <summary>
/// Shows all of the pathfinding polys.
/// </summary>
2022-12-12 14:33:43 +11:00
Polys = 1 << 3,
2022-09-30 14:39:48 +10:00
/// <summary>
/// Shows the edges between pathfinding polys.
/// </summary>
2022-12-12 14:33:43 +11:00
PolyNeighbors = 1 << 4,
2022-09-30 14:39:48 +10:00
/// <summary>
/// Shows the nearest poly to the mouse cursor.
/// </summary>
2022-12-12 14:33:43 +11:00
Poly = 1 << 5,
2022-09-30 14:39:48 +10:00
/// <summary>
/// Gets a path from the current attached entity to the mouse cursor.
/// </summary>
2022-12-12 14:33:43 +11:00
// Path = 1 << 6,
2022-09-30 14:39:48 +10:00
2022-12-12 14:33:43 +11:00
Routes = 1 << 6,
2022-09-30 14:39:48 +10:00
2022-12-12 14:33:43 +11:00
RouteCosts = 1 << 7,
Steering = 1 << 8,
2022-09-30 14:39:48 +10:00
}