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

Version 0 A/C details, packed into an array message. More...

Static Public Member Functions

static constexpr size_t msgSize ()
 message size More...
 

Public Attributes

std::uint32_t modeS_id
 plane's unique id at the sender side (might differ remotely in case of duplicates) More...
 
char icaoType [4]
 icao a/c type More...
 
char icaoOp [4]
 icao airline code More...
 
char sShortId [20]
 CSL model's short id. More...
 
std::uint16_t pkgHash
 hash value of package name More...
 
char label [23]
 label More...
 
std::uint8_t labelCol [3]
 label color (RGB) More...
 
float alt_ft
 [ft] current altitude More...
 
double lat
 latitude More...
 
double lon
 longitude More...
 
std::int16_t pitch
 [0.01°] pitch/100 More...
 
std::uint16_t heading
 [0.01°] heading/100 More...
 
std::int16_t roll
 [0.01°] roll/100 More...
 
std::int16_t aiPrio
 priority for display in limited TCAS target slots, -1 indicates "no TCAS display" More...
 
std::uint16_t dTime
 [0.0001s] time difference to previous position in 1/10000s More...
 
bool bValid: 1
 is this object valid? (Will be reset in case of exceptions) More...
 
bool bVisible: 1
 Shall this plane be drawn at the moment? More...
 
bool bRender: 1
 Shall the CSL model be drawn in 3D world? More...
 
std::uint8_t filler [3]
 yet unused More...
 
std::uint8_t v [XPMP2::V_COUNT]
 

Detailed Description

Version 0 A/C details, packed into an array message.

Member Function Documentation

◆ msgSize()

static constexpr size_t XPMP2::RemoteAcDetailTy_v0::msgSize ( )
inlinestaticconstexpr

message size

Member Data Documentation

◆ aiPrio

std::int16_t XPMP2::RemoteAcDetailTy_v0::aiPrio

priority for display in limited TCAS target slots, -1 indicates "no TCAS display"

◆ alt_ft

float XPMP2::RemoteAcDetailTy_v0::alt_ft

[ft] current altitude

◆ bRender

bool XPMP2::RemoteAcDetailTy_v0::bRender

Shall the CSL model be drawn in 3D world?

◆ bValid

bool XPMP2::RemoteAcDetailTy_v0::bValid

is this object valid? (Will be reset in case of exceptions)

◆ bVisible

bool XPMP2::RemoteAcDetailTy_v0::bVisible

Shall this plane be drawn at the moment?

◆ dTime

std::uint16_t XPMP2::RemoteAcDetailTy_v0::dTime

[0.0001s] time difference to previous position in 1/10000s

◆ filler

std::uint8_t XPMP2::RemoteAcDetailTy_v0::filler[3]

yet unused

Array of packed dataRef values for CSL model animation

◆ heading

std::uint16_t XPMP2::RemoteAcDetailTy_v0::heading

[0.01°] heading/100

◆ icaoOp

char XPMP2::RemoteAcDetailTy_v0::icaoOp[4]

icao airline code

◆ icaoType

char XPMP2::RemoteAcDetailTy_v0::icaoType[4]

icao a/c type

◆ label

char XPMP2::RemoteAcDetailTy_v0::label[23]

label

◆ labelCol

std::uint8_t XPMP2::RemoteAcDetailTy_v0::labelCol[3]

label color (RGB)

◆ lat

double XPMP2::RemoteAcDetailTy_v0::lat

latitude

◆ lon

double XPMP2::RemoteAcDetailTy_v0::lon

longitude

◆ modeS_id

std::uint32_t XPMP2::RemoteAcDetailTy_v0::modeS_id

plane's unique id at the sender side (might differ remotely in case of duplicates)

◆ pitch

std::int16_t XPMP2::RemoteAcDetailTy_v0::pitch

[0.01°] pitch/100

◆ pkgHash

std::uint16_t XPMP2::RemoteAcDetailTy_v0::pkgHash

hash value of package name

◆ roll

std::int16_t XPMP2::RemoteAcDetailTy_v0::roll

[0.01°] roll/100

◆ sShortId

char XPMP2::RemoteAcDetailTy_v0::sShortId[20]

CSL model's short id.

◆ v

std::uint8_t XPMP2::RemoteAcDetailTy_v0::v[XPMP2::V_COUNT]

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