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