src/XPMPMultiplayer.cpp
void XPMPSendNotification (const Aircraft& plane, XPMPPlaneNotification _notification)
{
    for (const XPMPPlaneNotifierTy& n: glob.listObservers)
        n.func(plane.GetModeS_ID(),
               _notification,
               n.refcon);
}
// Send a notification to all observers
Send a notification to all observers
Send a notification to all observers
void XPMPSendNotification (const Aircraft& plane, XPMPPlaneNotification _notification)
{
    for (const XPMPPlaneNotifierTy& n: glob.listObservers)
        n.func(plane.GetModeS_ID(),
               _notification,
               n.refcon);
}
void XPMPSendNotification ( const Aircraft & plane , XPMPPlaneNotification _notification ) { for ( const XPMPPlaneNotifierTy & n : glob . listObservers ) n . func ( plane . GetModeS_ID ( ) , _notification , n . refcon ) ; }
Send a notification to all observers
Send a notification to all observers