WASM get_name_of_named_variable(ID) (Legacy\gauges.h)

Version:
SDK 1.1.2 MSFS2024 V1.2.8

Frequency:
Consistently

Severity:
High

Bug description:

gauges.h returns deprecated message for get_name_of_named_variable(ID)

[[deprecated("Use MSFS_Event.h and MSFS_Vars.h instead")]]
PCSTRINGZ FSAPI get_name_of_named_variable(ID id);

suggesting to use the new APIs, there is however no such replacement call in the mentioned APIs so far.

Not having this call will cause many 3rd party apps not functioning anymore.
Used to retrieve the currently available named vars for home cockpit builders and Apps

Repro steps:
Use get_name_of_named_variable in WASM module and review compiler output.

FYI: This remains the same missing item in SDK 1.2.0

1 Like