Skip to main content

Interface: FlightPlanLegEvent

An event fired when a flight plan leg is added, removed, or its vertical data is changed.

Properties

batch

Optional Readonly batch: readonly Readonly<FlightPlanModBatch>[]

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.

Defined in

src/sdk/flightplan/FlightPlanner.ts:122


leg

Readonly leg: LegDefinition

The leg that was added, removed, or changed.

Defined in

src/sdk/flightplan/FlightPlanner.ts:116


legIndex

Readonly legIndex: number

The index of the changed flight plan leg in its containing segment.

Defined in

src/sdk/flightplan/FlightPlanner.ts:113


planIndex

Readonly planIndex: number

The index of the flight plan.

Defined in

src/sdk/flightplan/FlightPlanner.ts:107


segmentIndex

Readonly segmentIndex: number

The index of the segment containing the changed flight plan leg.

Defined in

src/sdk/flightplan/FlightPlanner.ts:110


type

Readonly type: LegEventType

The type of the leg event.

Defined in

src/sdk/flightplan/FlightPlanner.ts:104