XPLM_MSG_DATAREFS_ADDED

#define XPLM_MSG_DATAREFS_ADDED 114

Sent to your plugin per-frame (at-most) when/if datarefs are added. It will include the new data ref total count so that your plugin can keep a local cache of the total, see what’s changed and know which ones to inquire about if it cares.

This message is only sent to plugins that enable the XPLM_WANTS_DATAREF_NOTIFICATIONS feature.