Skip to main content

Interface: FlightPlanLegUserDataEvent

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

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:297

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:291

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


key

readonly key: string

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

The key of the user data.


leg

readonly leg: LegDefinition

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

The user data's flight plan leg.


legIndex

readonly legIndex: number

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

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:276

The index of the flight plan.


segmentIndex

readonly segmentIndex: number

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

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