Interface: FlightPlanLegEvent
Defined in: src/sdk/flightplan/FlightPlanner.ts:102
An event fired when a flight plan leg is added, removed, or its vertical data is changed.
Properties
batch?
readonly
optional
batch: readonlyReadonly
<FlightPlanModBatch
>[]
Defined in: src/sdk/flightplan/FlightPlanner.ts:122
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.
leg
readonly
leg:LegDefinition
Defined in: src/sdk/flightplan/FlightPlanner.ts:116
The leg that was added, removed, or changed.
legIndex
readonly
legIndex:number
Defined in: src/sdk/flightplan/FlightPlanner.ts:113
The index of the changed flight plan leg in its containing segment.
planIndex
readonly
planIndex:number
Defined in: src/sdk/flightplan/FlightPlanner.ts:107
The index of the flight plan.
segmentIndex
readonly
segmentIndex:number
Defined in: src/sdk/flightplan/FlightPlanner.ts:110
The index of the segment containing the changed flight plan leg.
type
readonly
type:LegEventType
Defined in: src/sdk/flightplan/FlightPlanner.ts:104
The type of the leg event.