Class NavigationSession
java.lang.Object
privbot.movement.pathing.NavigationSession
Bounded, non-blocking navigation lifecycle. One worker calls step; any thread may cancel. Keeps
one path handle alive while moving, confirms physical arrival, and backs off between recovery
attempts. Terminal outcomes are sticky. It never sleeps or starts its own worker.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe shared travel facade supplies the driver; tests can supply deterministic observations.static final classstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionNavigationSession(NavigationSession.Driver driver, net.runelite.api.coords.WorldPoint destination, NavigationOptions options, NavigationSession.Policy policy) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()result()status()step(BooleanSupplier interrupted)
-
Constructor Details
-
Method Details
-
status
-
result
-
cancel
public void cancel() -
step
-