Version:
SDK 1.1.2 (MSFS2024 1.2.8)
Frequency:
Consistently
Severity:
Blocker
Bug description:
The deployed MSFS_PlannedRoute.h defines a wrong or outdated struct for FsVisualPattern
When using it the replied content of FsPlannedRoute will not match.
Using the struct described in the SDK Documentation will return data as expected.
/* From ORIGINAL SDK 1.1.2 file WRONG
struct FsVisualPattern
{
int pattern;
bool forcePatternSide;
};
typedef struct FsVisualPattern;
*/
// Copy from SDK Documentation
typedef struct FsVisualPattern CORRECT
{
int pattern;
bool isLeftTraffic;
float distance;
float altitude;
} FsVisualPattern;
Repro steps:
Perform in Standalone WASM module
FsPlannedRoute* plannedRoute = fsPlannedRouteGetEfbRoute();
and review returned content.
Attachments:
N/A, but can be provided upon request