Skip to main content

Interface: FlightPlanOriginDestEvent

Defined in: src/sdk/flightplan/FlightPlanner.ts:184

An event generated when the origin and/or destination information is updated.

Properties​

airport?​

readonly optional airport: string

Defined in: src/sdk/flightplan/FlightPlanner.ts:192

The airport that was changed.


batch?​

readonly optional batch: readonly Readonly<FlightPlanModBatch>[]

Defined in: src/sdk/flightplan/FlightPlanner.ts:198

The modification batch stack to which the change was assigned, in order of increasing nestedness. Not defined if the change was not assigned to any batches.


planIndex​

readonly planIndex: number

Defined in: src/sdk/flightplan/FlightPlanner.ts:189

The index of the flight plan.


type​

readonly type: OriginDestChangeType

Defined in: src/sdk/flightplan/FlightPlanner.ts:186

The type of change.