27 class [[deprecated("Don't use directly, only defined to support deprecated global XPMP functions")]]
33 void* refcon =
nullptr;
37 const char* inAirline,
42 const char * inModelName =
nullptr);
57 typedef std::map<XPMPPlaneID,Aircraft*>
mapAcTy;
XPMPPlaneCallbackResult(* XPMPPlaneData_f)(XPMPPlaneID inPlane, XPMPPlaneDataType inDataType, void *ioData, void *inRefcon)
Callback function your plugin provides to return updated plane data.
Definition: XPMPMultiplayer.h:616
XPMPPlaneCallbackResult
Definfes the different responses to asking for information.
Definition: XPMPMultiplayer.h:240
unsigned XPMPPlaneID
Unique ID for an aircraft created by a plugin.
Definition: XPMPMultiplayer.h:252
Textual information of planes to be passed on via shared dataRefs to other plugins.
Definition: XPMPMultiplayer.h:208
This data structure contains the basic position info for an aircraft.
Definition: XPMPMultiplayer.h:88
defines information about an aircraft visible to radar.
Definition: XPMPMultiplayer.h:198
External physical configuration of the plane.
Definition: XPMPMultiplayer.h:156
Legacy wrapper class as provided by original libxplanemp.
Definition: XPCAircraft.h:37
This class helps creating aircraft via the legacy global functions. It provides standard implementati...
Definition: Aircraft.h:28
Definition: XPMPAircraft.h:70
std::map< XPMPPlaneID, Aircraft * > mapAcTy
Map of all aircraft, key is tthe plane id.
Definition: Aircraft.h:57
void AcCleanup()
Grace cleanup, esp. remove all aircraft.
Definition: Aircraft.cpp:1084
void AcInit()
Initialize the module.
Definition: Aircraft.cpp:1054