src/XPMPMultiplayer.cpp
void            XPMPRegisterPlaneNotifierFunc(XPMPPlaneNotifier_f       inFunc,
                                              void *                    inRefcon)
{
    // Avoid duplicate entries
    XPMPPlaneNotifierTy observer (inFunc, inRefcon);
    if (std::find(glob.listObservers.begin(),
                  glob.listObservers.end(),
                  observer) == glob.listObservers.end()) {
        glob.listObservers.emplace_back(std::move(observer));
        LOG_MSG(logDEBUG, "%lu observers registered",
                (unsigned long)glob.listObservers.size());
    }
}
/*
 * XPMPRegisterPlaneCreateDestroyFunc
 *
 * This function registers a notifier functionfor obeserving planes being created and destroyed.
 *
 */
XPMPRegisterPlaneCreateDestroyFunc
This function registers a notifier functionfor obeserving planes being created and destroyed.
XPMPRegisterPlaneCreateDestroyFunc This function registers a notifier functionfor obeserving planes being created and destroyed .
void            XPMPRegisterPlaneNotifierFunc(XPMPPlaneNotifier_f       inFunc,
                                              void *                    inRefcon)
{
    XPMPPlaneNotifierTy observer (inFunc, inRefcon);
    if (std::find(glob.listObservers.begin(),
                  glob.listObservers.end(),
                  observer) == glob.listObservers.end()) {
        glob.listObservers.emplace_back(std::move(observer));
        LOG_MSG(logDEBUG, "%lu observers registered",
                (unsigned long)glob.listObservers.size());
    }
}
void XPMPRegisterPlaneNotifierFunc ( XPMPPlaneNotifier_f inFunc , void * inRefcon ) { XPMPPlaneNotifierTy observer ( inFunc , inRefcon ) ; if ( std :: find ( glob . listObservers . begin ( ) , glob . listObservers . end ( ) , observer ) == glob . listObservers . end ( ) ) { glob . listObservers . emplace_back ( std :: move ( observer ) ) ; LOG_MSG ( logDEBUG , " " , ( unsigned long ) glob . listObservers . size ( ) ) ; } }
XPMPRegisterPlaneCreateDestroyFunc
 This function registers a notifier functionfor obeserving planes being created and destroyed.
XPMPRegisterPlaneCreateDestroyFunc This function registers a notifier functionfor obeserving planes being created and destroyed .
// Avoid duplicate entries