XPLMUpdateFlight
XPLM_API XPLMInitResult XPLMUpdateFlight(
char const* inJsonData);
Updates the user’s ‘current flight, modifying some flight parameters. The flight config is provided as a JSON string, see /article/flight-initialization-api/ for the JSON format specification.
Returns an XPLMInitResult enum value specifying whether hte update suceeeded (and if not, what caused it to fail).