Struct NavigationGuideLease
- Namespace
- Trailblazer.Pathing
- Assembly
- Trailblazer.dll
Owns one graph-backed A* payload reference and its guide-local step cursor.
public readonly struct NavigationGuideLease : IDisposable
- Implements
- Inherited Members
Properties
CurrentStepIndex
Gets the zero-based guide-local step cursor.
public int CurrentStepIndex { get; }
Property Value
Status
Gets the lease's current dependency-validated status.
public NavigationGuideStatus Status { get; }
Property Value
StepCount
Gets the immutable number of movement and action steps in the leased route.
public int StepCount { get; }
Property Value
TotalCost
Gets the immutable exact fixed-point cost of the complete route.
public Fixed64 TotalCost { get; }
Property Value
- Fixed64
Methods
CompletePendingTransition(in NavigationTransitionInstruction)
Completes the exact current pending semantic action.
public NavigationGuideStatus CompletePendingTransition(in NavigationTransitionInstruction instruction)
Parameters
instructionNavigationTransitionInstruction
Returns
Dispose()
public void Dispose()
TryAdvanceStep()
Advances one ordinary movement step; a pending action cannot be crossed.
public NavigationGuideStatus TryAdvanceStep()
Returns
TryGetCurrentStep(out NavigationGuideStep)
Gets the current dependency-validated movement or action step.
public NavigationGuideStatus TryGetCurrentStep(out NavigationGuideStep step)
Parameters
stepNavigationGuideStep