@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
20 lines (16 loc) • 517 B
text/typescript
/*
* Copyright (C) 2022 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
/**
* 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;
}