Skip to main content

Interface: FlightPlanSegmentEvent

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

An event fired when there are segment related changes.

Properties​

batch?​

readonly optional batch: readonly Readonly<FlightPlanModBatch>[]

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

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.


planIndex​

readonly planIndex: number

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

The index of the flight plan.


segment?​

readonly optional segment: FlightPlanSegment

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

The segment that was added, removed, or changed.


segmentIndex​

readonly segmentIndex: number

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

The current leg selected.


type​

readonly type: SegmentEventType

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

The type of the segment change.