Interface: FlightPlanSegmentEvent
Defined in: src/sdk/flightplan/FlightPlanner.ts:162
An event fired when there are segment related changes.
Properties
batch?
readonlyoptionalbatch: readonlyReadonly<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
readonlyplanIndex:number
Defined in: src/sdk/flightplan/FlightPlanner.ts:167
The index of the flight plan.
segment?
readonlyoptionalsegment:FlightPlanSegment
Defined in: src/sdk/flightplan/FlightPlanner.ts:173
The segment that was added, removed, or changed.
segmentIndex
readonlysegmentIndex:number
Defined in: src/sdk/flightplan/FlightPlanner.ts:170
The current leg selected.
type
readonlytype:SegmentEventType
Defined in: src/sdk/flightplan/FlightPlanner.ts:164
The type of the segment change.