UNPKG

@kayahr/ed-journal

Version:

Typescript library to read/watch the player journal of Frontier's game Elite Dangerous

25 lines (21 loc) 713 B
/* * Copyright (C) 2022 Klaus Reimer <k@ailis.de> * See LICENSE.md for licensing information. */ import type { JournalEvent } from "../../JournalEvent.js"; /** * When plotting a multi-star route, the file “NavRoute.json” is written in the same directory as the journal, with a * list of stars along that route. */ export interface NavRoute extends JournalEvent<"NavRoute"> {} /** * Extended nav route data written to separate 'NavRoute.json' file. */ export interface ExtendedNavRoute extends JournalEvent<"NavRoute" | "NavRouteClear"> { Route: Array<{ StarSystem: string; SystemAddress: number; StarPos: [ number, number, number ]; StarClass: string; }>; }