@qandq/cloud-gcs-core 1.2.48 → 1.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AircraftPlugin } from "./AircraftPlugin";
|
|
1
2
|
export interface AircraftConfiguration {
|
|
2
3
|
aircraftType: string;
|
|
3
4
|
minimumECT: number;
|
|
@@ -53,4 +54,8 @@ export interface AircraftConfiguration {
|
|
|
53
54
|
vtolSpeedUpAltitudeAddOn: number;
|
|
54
55
|
vtolTransitionAltitude: number;
|
|
55
56
|
customParameters: Map<string, any>;
|
|
57
|
+
mcVersion: string;
|
|
58
|
+
autopilotVersion: string;
|
|
59
|
+
installedPlugins: AircraftPlugin[];
|
|
60
|
+
notInstalledPlugins: AircraftPlugin[];
|
|
56
61
|
}
|
|
@@ -56,6 +56,10 @@ export interface IEventListener {
|
|
|
56
56
|
* Triggered when the active aircraft changes.
|
|
57
57
|
*/
|
|
58
58
|
onActiveAircraftChanged(callback: any): void;
|
|
59
|
+
/**
|
|
60
|
+
* Triggered when aircraft parameters change.
|
|
61
|
+
*/
|
|
62
|
+
onAircraftParametersChanged(callback: any): void;
|
|
59
63
|
/**
|
|
60
64
|
* TODO: not used
|
|
61
65
|
*/
|
|
@@ -119,4 +123,5 @@ export interface IEventListener {
|
|
|
119
123
|
removeHandoverPilotMessage(callback: any): void;
|
|
120
124
|
removeUnitTypeChanged(callback: any): void;
|
|
121
125
|
removeInsertFlightEvent(callback: any): void;
|
|
126
|
+
removeAircraftParametersChanged(callback: any): void;
|
|
122
127
|
}
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import {AircraftPlugin} from "./AircraftPlugin";
|
|
2
|
+
|
|
1
3
|
export interface AircraftConfiguration {
|
|
2
4
|
aircraftType: string
|
|
3
5
|
minimumECT: number
|
|
@@ -52,5 +54,9 @@ export interface AircraftConfiguration {
|
|
|
52
54
|
vtolLandingDescendAngle: number
|
|
53
55
|
vtolSpeedUpAltitudeAddOn: number
|
|
54
56
|
vtolTransitionAltitude: number
|
|
55
|
-
customParameters: Map<string, any
|
|
57
|
+
customParameters: Map<string, any>,
|
|
58
|
+
mcVersion: string,
|
|
59
|
+
autopilotVersion: string,
|
|
60
|
+
installedPlugins: AircraftPlugin[],
|
|
61
|
+
notInstalledPlugins: AircraftPlugin[]
|
|
56
62
|
}
|
|
@@ -16,6 +16,8 @@ export interface IEventListener {
|
|
|
16
16
|
*/
|
|
17
17
|
onAircraftPilotChanged(callback: any): void;
|
|
18
18
|
|
|
19
|
+
|
|
20
|
+
|
|
19
21
|
/**
|
|
20
22
|
* Triggered when a handover request is received.
|
|
21
23
|
*/
|
|
@@ -71,6 +73,11 @@ export interface IEventListener {
|
|
|
71
73
|
*/
|
|
72
74
|
onActiveAircraftChanged(callback: any): void;
|
|
73
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Triggered when aircraft parameters change.
|
|
78
|
+
*/
|
|
79
|
+
onAircraftParametersChanged(callback: any): void;
|
|
80
|
+
|
|
74
81
|
/**
|
|
75
82
|
* TODO: not used
|
|
76
83
|
*/
|
|
@@ -144,4 +151,5 @@ export interface IEventListener {
|
|
|
144
151
|
removeHandoverPilotMessage(callback: any): void;
|
|
145
152
|
removeUnitTypeChanged(callback: any): void;
|
|
146
153
|
removeInsertFlightEvent(callback: any): void
|
|
154
|
+
removeAircraftParametersChanged(callback: any): void;
|
|
147
155
|
}
|