Skip to main content

Interface: FlightPlanLegUserDataEvent

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

An event generated when a flight plan leg user data key-value pair is changed.

Properties​

batch?​

readonly optional batch: readonly Readonly<FlightPlanModBatch>[]

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

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.


data?​

readonly optional data: any

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

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


key​

readonly key: string

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

The key of the user data.


leg​

readonly leg: LegDefinition

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

The user data's flight plan leg.


legIndex​

readonly legIndex: number

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

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


planIndex​

readonly planIndex: number

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

The index of the flight plan.


segmentIndex​

readonly segmentIndex: number

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

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