UNPKG

msfs-simconnect-api-wrapper

Version:

A convenient SimConnect API for playing with Microsoft Flight Simulator 2020

109 lines (103 loc) 1.28 kB
export const RUNWAY_SURFACES = [ `concrete`, `grass`, `water fsx`, `grass bumpy`, `asphalt`, `short grass`, `long grass`, `hard turf`, `snow`, `ice`, `urban`, `forest`, `dirt`, `coral`, `gravel`, `oil treated`, `steel mats`, `bituminus`, `brick`, `macadam`, `planks`, `sand`, `shale`, `tarmac`, `wright flyer track`, `ocean`, `water`, `pond`, `lake`, `river`, `waste water`, `paint`, ]; RUNWAY_SURFACES[254] = `unknown`; RUNWAY_SURFACES[255] = `unknown`; export const RUNWAY_NUMBER = [ `none`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `33`, `34`, `35`, `36`, `north`, `northeast`, `east`, `southeast`, `south`, `southwest`, `west`, `northwest`, `last`, ]; export const RUNWAY_DESIGNATOR = [ `none`, `left`, `right`, `center`, `water`, `a`, `b`, `last`, ]; export const ILS_TYPES = { 0: `none`, 65: `airport`, 86: `VOR`, 78: `NDB`, 87: `waypoint`, }; export const SIMCONNECT_FACILITY_LIST_TYPE_AIRPORT = 0; export const SIMCONNECT_FACILITY_AIRPORT = 1000;