I made a WASM module to get the list of all the Lvars and their values so as to monitor the changes.
For this purpose, I enumerate the Lvar names using the functions ‘get_name_of_named_variable’ (legacy Gauges API) or the newer ‘fsVarsGetLVarName’ (Vars API).
This was fine, but now, new aircrafts use scoped Lvars (‘L:1’ or ‘Z:’) extensively. ‘fsVarsGetLVarName’ does not allow to enumerate the scoped Lvars, a function such as ‘fsVarsGetScopedLVarName’ or ‘fsVarsGetZVarName’ is missing.
Is there a way to enumerate the scoped Lvars?