@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
25 lines (19 loc) • 613 B
text/typescript
/*
* Copyright (C) 2025 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
import type { JournalEvent } from "../../JournalEvent.js";
export interface CarrierShipPackBase extends JournalEvent<"CarrierShipPack"> {
CarrierID: number;
PackTheme: string;
PackTier: number;
}
export interface CarrierShipPackBuy extends CarrierShipPackBase {
Operation: "BuyPack";
Cost: number;
}
export interface CarrierShipPackSell extends CarrierShipPackBase {
Operation: "SellPack";
Refund: number;
}
export type CarrierShipPack = CarrierShipPackBuy | CarrierShipPackSell;