Skip to main content

Interface: FlightPlanLegUserDataEvent

An event generated when a flight plan leg user data key-value pair 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:297


data

Optional Readonly data: any

The user data. Not defined if the user data was deleted.

Defined in

src/sdk/flightplan/FlightPlanner.ts:291


key

Readonly key: string

The key of the user data.

Defined in

src/sdk/flightplan/FlightPlanner.ts:288


leg

Readonly leg: LegDefinition

The user data's flight plan leg.

Defined in

src/sdk/flightplan/FlightPlanner.ts:285


legIndex

Readonly legIndex: number

The index of the user data's flight plan leg in its containing segment.

Defined in

src/sdk/flightplan/FlightPlanner.ts:282


planIndex

Readonly planIndex: number

The index of the flight plan.

Defined in

src/sdk/flightplan/FlightPlanner.ts:276


segmentIndex

Readonly segmentIndex: number

The index of the segment containing the user data's flight plan leg.

Defined in

src/sdk/flightplan/FlightPlanner.ts:279