Files
healer-man/scripts/runewaker-pipeline/lib/objective-route-audit.d.mts
T
2026-08-14 15:56:39 -04:00

27 lines
750 B
TypeScript

import type {
PartyNavigationGraph,
PartyNavigationPosition,
} from "../../../src/game/partyNavigation";
export interface ObjectiveRouteAuditBoss {
readonly id: string;
readonly name: string;
readonly position: PartyNavigationPosition;
}
export interface ObjectiveRouteAuditResult {
readonly from: string;
readonly to: string;
readonly objectiveId: string;
readonly approachPosition: PartyNavigationPosition | null;
readonly objectiveProjectionDistance: number | null;
readonly reachable: boolean;
readonly waypointCount: number;
}
export function auditOrderedObjectiveRoutes(
graph: PartyNavigationGraph,
entrance: PartyNavigationPosition,
bosses: readonly ObjectiveRouteAuditBoss[],
): ObjectiveRouteAuditResult[];