Skip to main content

Class: FlightPlanAsoboSync

A class for syncing a flight plan with the game

Constructors

constructor

new FlightPlanAsoboSync(): FlightPlanAsoboSync

Returns

FlightPlanAsoboSync

Properties

fpListenerInitialized

Static fpListenerInitialized: boolean = false

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FlightPlanAsoboSync.ts:14

Methods

SaveToGame

SaveToGame(fms): Promise<void>

Syncs the plan back to the sim as best as possible

Parameters

NameTypeDescription
fmsFms<any>an instance of FMS

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FlightPlanAsoboSync.ts:123


init

init(): Promise<void>

Inits flight plan asobo sync

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FlightPlanAsoboSync.ts:28


loadFromGame

loadFromGame(fms): Promise<void>

Loads the flight plan from the sim.

Parameters

NameTypeDescription
fmsFms<any>The fms.

Returns

Promise<void>

a Promise which is fulfilled when the flight plan has been loaded.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FlightPlanAsoboSync.ts:46