Interface: FlightPlanSegmentEvent
An event fired when there are segment related changes.
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:177
planIndex
• Readonly
planIndex: number
The index of the flight plan.
Defined in
src/sdk/flightplan/FlightPlanner.ts:165
segment
• Optional
Readonly
segment: FlightPlanSegment
The segment that was added, removed, or changed.
Defined in
src/sdk/flightplan/FlightPlanner.ts:171
segmentIndex
• Readonly
segmentIndex: number
The current leg selected.
Defined in
src/sdk/flightplan/FlightPlanner.ts:168
type
• Readonly
type: SegmentEventType
The type of the leg change.
Defined in
src/sdk/flightplan/FlightPlanner.ts:162