SIMCONNECT_JETWAY_DATA
The SIMCONNECT_JETWAY_DATA structure is used to return information on a single jetway.
Syntax
struct SIMCONNECT_JETWAY_DATA : public SIMCONNECT_RECV
{
char AirportIcao[8];
int ParkingIndex;
SIMCONNECT_DATA_LATLONALT Lla;
SIMCONNECT_DATA_PBH Pbh;
int Status;
int Door;
SIMCONNECT_DATA_XYZ ExitDoorRelativePos; //
SIMCONNECT_DATA_XYZ MainHandlePos; //
SIMCONNECT_DATA_XYZ SecondaryHandle; //
SIMCONNECT_DATA_XYZ WheelGroundLock; //
DWORD JetwayObjectId; //
DWORD AttachedObjectId; //
}
Members
| Member | Description |
|---|---|
AirportIcao | ICAO code of the airport (will be the same as the one you used to make the request). |
ParkingIndex | Index of the parking space linked to this jetway (will be the same as the one you used to make the request). |
Lla | Lattitude / Longitude / Altitude of the jetway, returned as a SIMCONNECT_DATA_LATLONALT struct. |
Pbh | Pitch / Bank / Heading of the jetway, returned as a SIMCONNECT_DATA_PBH struct. |
Status | The status of the jetway, which will be one of the following:
|
Door | The index of the door attached to the jetway. |
ExitDoorRelativePos | Door position relative to aircraft, returned as a SIMCONNECT_DATA_XYZ struct. |
MainHandlePos | Relative position of IK_MainHandle (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct. |
SecondaryHandle | Relative position of IK_SecondaryHandle (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct. |
WheelGroundLock | Relative position of IK_WheelsGroundLock (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct |
JetwayObjectId | ObjectId of the jetway (used by SimConnect_RequestDataOnSimObject for example) |
AttachedObjectId | ObjectId of the object (aircraft) attached to the jetway (used by SimConnect_RequestDataOnSimObject for example) |
Remarks
This structure is returned as one element in the SIMCONNECT_RECV_JETWAY_DATA structure.