UNPKG

@kayahr/ed-journal

Version:

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

20 lines (19 loc) 687 B
import type { JournalEvent } from "../../JournalEvent.ts"; import type { ID } from "../types/ID.ts"; import type { StarType } from "../types/StarType.ts"; /** The type of jump. */ export type JumpType = "Hyperspace" | "Supercruise"; /** * Written at the start of a hyperspace or supercruise jump (start of countdown) */ export interface StartJump extends JournalEvent<"StartJump"> { /** The type of jump. */ JumpType: JumpType; /** Name of destination system (for a hyperspace jump) */ StarSystem?: string; SystemAddress?: ID; /** Star type (Only for a hyperspace jump) */ StarClass?: StarType; /** True if player is in a taxi. */ Taxi?: boolean; }