@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
19 lines (18 loc) • 580 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
/**
* Written when player has (attempted to) interdict another player or NPC.
*/
export interface Interdiction extends JournalEvent<"Interdiction"> {
/** Whether interdiction has been successful. */
Success: boolean;
/** Victim pilot name. */
Interdicted?: string;
/** Whether player or NPC. */
IsPlayer: boolean;
/** Combat rank (if player). */
CombatRank?: number;
/** Faction (if NPC). */
Faction?: string;
/** Power (if NPC working for a power). */
Power?: string;
}