Skip to content

Commit

Permalink
Update definitions file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Dec 23, 2024
1 parent 42a5461 commit 7a97419
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ TEST-results.xml
.eslintcache
*v8.log
/lib/
package.g.props
68 changes: 40 additions & 28 deletions src/defs.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** The different gate types */
export enum GateType {
None = 0,
Ramp_GA = 1,
Expand All @@ -13,32 +14,13 @@ export enum GateType {
Dock_GA = 11,
Fuel = 12,
Vehicles = 13,
/** Added for MSFS */
Ramp_GA_Extra = 14,
/** Added for MSFS */
Gate_Extra = 15,
/** Added for MSFS */
Jetway = 16,
}
export enum AircraftType {
Airliner = 0,
Cargo = 1,
GeneralAviation = 2,
Helicopter = 3,
}
export enum EngineType {
Piston = 0,
Jet = 1,
None = 2,
Helo = 3,
Rocket = 4,
Turboprop = 5,
}
export enum SimType {
None = 0,
Prepar3D = 1,
Xplane = 2,
FlightSimulator = 3,
Fsx = 4,
Fs9 = 5,
}
export enum Surface {
Concrete = 0,
Grass = 1,
Expand Down Expand Up @@ -66,6 +48,31 @@ export enum Surface {
Tarmac = 23,
Unknown = 99999,
}
export enum AircraftType {
Airliner = 0,
Cargo = 1,
GeneralAviation = 2,
Helicopter = 3,
}
/** The type of engine */
export enum EngineType {
Piston = 0,
Jet = 1,
None = 2,
Helo = 3,
Rocket = 4,
Turboprop = 5,
}
export enum SimType {
None = 0,
Prepar3D = 1,
Xplane = 2,
FlightSimulator = 3,
Fsx = 4,
Fs9 = 5,
FlightSimulator2020 = 6,
FlightSimulator2024 = 7,
}
export enum FareType {
/** Primarily a passenger flight */
Passenger = 0,
Expand Down Expand Up @@ -111,6 +118,13 @@ export enum PirepState {
Paused = 14,
OnBlock = 15,
}
/** The simtype for the rule file */
export enum AircraftConfigSimType {
MsFs = 0,
XPlane = 1,
Fsuipc = 2,
}
/** Features of an aircraft. They are binary on or off */
export enum AircraftFeature {
BeaconLights = 0,
LandingLights = 1,
Expand All @@ -127,12 +141,10 @@ export enum AircraftFeature {
AntiIce = 12,
Battery = 13,
Packs = 14,
}
/** The simtype for the rule file */
export enum AircraftConfigSimType {
MsFs = 0,
XPlane = 1,
Fsuipc = 2,
ParkingBrakes = 15,
Engines = 16,
Transponder = 17,
LandingGear = 18,
}
/** The type of the dataref */
export enum FeatureType {
Expand Down

0 comments on commit 7a97419

Please # to comment.