XPMP2
X-Plane multiplayer library 2 - using instancing
Public Attributes | List of all members
XPMP2::RemoteCBFctTy Struct Reference

Function prototypes for callback functions to handle the received messages. More...

#include <XPMPRemote.h>

Public Attributes

void(* pfBeforeFirstAc )() = nullptr
 Called in flight loop before processing first aircraft. More...
 
void(* pfAfterLastAc )() = nullptr
 Called in flight loop after processing last aircraft. More...
 
void(* pfMsgSettings )(const std::uint32_t from[4], const std::string &sFrom, const RemoteMsgSettingsTy &) = nullptr
 Callback for processing Settings messages. More...
 
void(* pfMsgACDetails )(const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcDetailTy &) = nullptr
 Callback for processing A/C Details messages. More...
 
void(* pfMsgACPosUpdate )(const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcPosUpdateTy &) = nullptr
 Callback for processing A/C Details messages. More...
 
void(* pfMsgACAnim )(const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcAnimTy &) = nullptr
 Callback for processing A/C Animation dataRef messages. More...
 
void(* pfMsgACRemove )(const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcRemoveTy &) = nullptr
 Callback for processing A/C Removal messages. More...
 

Detailed Description

Function prototypes for callback functions to handle the received messages.

Member Data Documentation

◆ pfAfterLastAc

void(* XPMP2::RemoteCBFctTy::pfAfterLastAc) () = nullptr

Called in flight loop after processing last aircraft.

◆ pfBeforeFirstAc

void(* XPMP2::RemoteCBFctTy::pfBeforeFirstAc) () = nullptr

Called in flight loop before processing first aircraft.

◆ pfMsgACAnim

void(* XPMP2::RemoteCBFctTy::pfMsgACAnim) (const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcAnimTy &) = nullptr

Callback for processing A/C Animation dataRef messages.

◆ pfMsgACDetails

void(* XPMP2::RemoteCBFctTy::pfMsgACDetails) (const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcDetailTy &) = nullptr

Callback for processing A/C Details messages.

◆ pfMsgACPosUpdate

void(* XPMP2::RemoteCBFctTy::pfMsgACPosUpdate) (const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcPosUpdateTy &) = nullptr

Callback for processing A/C Details messages.

◆ pfMsgACRemove

void(* XPMP2::RemoteCBFctTy::pfMsgACRemove) (const std::uint32_t from[4], size_t msgLen, const RemoteMsgAcRemoveTy &) = nullptr

Callback for processing A/C Removal messages.

◆ pfMsgSettings

void(* XPMP2::RemoteCBFctTy::pfMsgSettings) (const std::uint32_t from[4], const std::string &sFrom, const RemoteMsgSettingsTy &) = nullptr

Callback for processing Settings messages.


The documentation for this struct was generated from the following file: