@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
20 lines (19 loc) • 663 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
import type { ID } from "../types/ID.ts";
export interface ShipLockerItem {
Name: string;
Name_Localised?: string;
OwnerID: ID;
Count: number;
MissionID?: ID;
}
/**
* Lists the contents of the ship locker, eg at startup. The full list is written into the journal at startup
* (if in a ship) and when boarding a ship. For other updates the ship locker has to be watched separately.
*/
export interface ShipLocker extends JournalEvent<"ShipLocker"> {
Items?: ShipLockerItem[];
Components?: ShipLockerItem[];
Consumables?: ShipLockerItem[];
Data?: ShipLockerItem[];
}