Is there any legit way to get list of installed aircraft titles (liveries) by SimConnect/WASM, or at least JS script? Files crawling is not an option because some (all for Xbox) aircraft CFGs may be encrypted.
Pilot should have a list of installed liveries available so he can choose aircraft he likes, then WASM script insert AI airplane by SimConnect_AICreateNonATCAircraft.
Only solutions I see right now - temporarily store selected aircraft history in the WASM module memory, and send data to the external database. But both are not perfect.