/* * Copyright (C) 2025 Klaus Reimer * See LICENSE.md for licensing information. */ import type { JournalEvent } from "../../JournalEvent.ts"; import type { CarrierType } from "../types/CarrierType.ts"; import type { ID } from "../types/ID.ts"; export interface CarrierShipPackBase extends JournalEvent<"CarrierShipPack"> { CarrierID: ID; CarrierType?: CarrierType; 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;