mwg API
    Preparing search index...

    Interface SimulationOutcome<State, Event>

    interface SimulationOutcome<State, Event> {
        cost?: number | null;
        events: readonly Event[];
        state: State;
        status: SimulationStatus;
    }

    Type Parameters

    • State
    • Event
    Index
    cost?: number | null

    time this command cost its actor at speed 1, charged via scheduler.spend; omit or null for a command that does not consume a scheduler turn (a menu action, a query).

    events: readonly Event[]
    state: State