Declared in FuelBus

Declaration

bool Disconnect(
    UniverseObject from,
    FuelPort fromPort,
    UniverseObject to,
    FuelPort toPort
);

Description

Disconnects two fuel components on specified ports. Removes the edge from the network. For cross-spacecraft connections, the edge is removed from both buses.

Parameters

NameDescription
fromThe source component.
fromPortThe port on the source component.
toThe destination component.
toPortThe port on the destination component.