@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
13 lines (12 loc) • 414 B
TypeScript
/**
* A position within the journal indicated by file and byte offset. Also keeps track of the line number within the
* journal file for better error messages.
*/
export interface JournalPosition {
/** The filename of the journal file without directory. */
file: string;
/** Byte offset in the journal file. */
offset: number;
/** Line number within the journal file. */
line: number;
}