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

Settings message, identifying a sending plugin, regularly providing its settings. More...

#include <XPMPRemote.h>

+ Inheritance diagram for XPMP2::RemoteMsgSettingsTy:

Public Member Functions

 RemoteMsgSettingsTy ()
 Constructor sets most values to zero. More...
 
- Public Member Functions inherited from XPMP2::RemoteMsgBaseTy
 RemoteMsgBaseTy (RemoteMsgTy _ty, std::uint8_t _ver)
 Constructor just sets the values. More...
 

Public Attributes

char name [16]
 plugin's name, not necessarily zero-terminated if using full 12 chars More...
 
float maxLabelDist
 Maximum distance for drawing labels? [m]. More...
 
char defaultIcao [4]
 Default ICAO aircraft type designator if no match can be found. More...
 
char carIcaoType [4]
 Ground vehicle type identifier. More...
 
std::uint8_t logLvl:3
 logging level More...
 
bool bLogMdlMatch:1
 Debug model matching? More...
 
bool bObjReplDataRefs:1
 Replace dataRefs in .obj files on load? More...
 
bool bObjReplTextures:1
 Replace textures in .obj files on load if needed? More...
 
bool bLabelCutOffAtVisibility:1
 Cut off labels at XP's reported visibility mit? More...
 
bool bMapEnabled:1
 Do we feed X-Plane's maps with our aircraft positions? More...
 
bool bMapLabels:1
 Do we show labels with the aircraft icons? More...
 
bool bHaveTCASControl:1
 Do we have AI/TCAS control? More...
 
std::uint16_t filler
 yet unused, fills size up for a multiple of 8 More...
 
- Public Attributes inherited from XPMP2::RemoteMsgBaseTy
RemoteMsgTy msgTy: 4
 message type More...
 
std::uint8_t msgVer: 4
 message version More...
 
bool bLocalSender: 1
 is the sender "local", ie. on same machine? More...
 
std::uint8_t filler1: 7
 yet unsed More...
 
std::uint16_t pluginId = 0
 lower 16 bit of the sending plugin's id More...
 
std::uint32_t filler2 = 0
 

Detailed Description

Settings message, identifying a sending plugin, regularly providing its settings.

Constructor & Destructor Documentation

◆ RemoteMsgSettingsTy()

XPMP2::RemoteMsgSettingsTy::RemoteMsgSettingsTy ( )

Constructor sets most values to zero.

Member Data Documentation

◆ bHaveTCASControl

bool XPMP2::RemoteMsgSettingsTy::bHaveTCASControl

Do we have AI/TCAS control?

◆ bLabelCutOffAtVisibility

bool XPMP2::RemoteMsgSettingsTy::bLabelCutOffAtVisibility

Cut off labels at XP's reported visibility mit?

◆ bLogMdlMatch

bool XPMP2::RemoteMsgSettingsTy::bLogMdlMatch

Debug model matching?

◆ bMapEnabled

bool XPMP2::RemoteMsgSettingsTy::bMapEnabled

Do we feed X-Plane's maps with our aircraft positions?

◆ bMapLabels

bool XPMP2::RemoteMsgSettingsTy::bMapLabels

Do we show labels with the aircraft icons?

◆ bObjReplDataRefs

bool XPMP2::RemoteMsgSettingsTy::bObjReplDataRefs

Replace dataRefs in .obj files on load?

◆ bObjReplTextures

bool XPMP2::RemoteMsgSettingsTy::bObjReplTextures

Replace textures in .obj files on load if needed?

◆ carIcaoType

char XPMP2::RemoteMsgSettingsTy::carIcaoType[4]

Ground vehicle type identifier.

◆ defaultIcao

char XPMP2::RemoteMsgSettingsTy::defaultIcao[4]

Default ICAO aircraft type designator if no match can be found.

◆ filler

std::uint16_t XPMP2::RemoteMsgSettingsTy::filler

yet unused, fills size up for a multiple of 8

◆ logLvl

std::uint8_t XPMP2::RemoteMsgSettingsTy::logLvl

logging level

◆ maxLabelDist

float XPMP2::RemoteMsgSettingsTy::maxLabelDist

Maximum distance for drawing labels? [m].

◆ name

char XPMP2::RemoteMsgSettingsTy::name[16]

plugin's name, not necessarily zero-terminated if using full 12 chars


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