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