diff --git a/src/datastructures/FacilityAirport.ts b/src/datastructures/FacilityAirport.ts index 958ed20..886c9e5 100644 --- a/src/datastructures/FacilityAirport.ts +++ b/src/datastructures/FacilityAirport.ts @@ -3,6 +3,8 @@ import { RawBuffer } from '../RawBuffer'; export class FacilityAirport { icao: string; + region: string; + latitude: number; longitude: number; @@ -10,7 +12,8 @@ export class FacilityAirport { altitude: number; constructor(data: RawBuffer) { - this.icao = data.readString(9); + this.icao = data.readString(6); + this.region = data.readString(3); this.latitude = data.readFloat64(); this.longitude = data.readFloat64(); this.altitude = data.readFloat64();