XPMP2
X-Plane multiplayer library 2 - using instancing
|
A/C animation dataRef changes. More...
#include <XPMPRemote.h>
Classes | |
struct | DataRefValTy |
dataRef animation types and value More... | |
Public Member Functions | |
RemoteAcAnimTy (XPMPPlaneID _id) | |
Constructor. More... | |
size_t | msgSize () const |
current message size More... | |
Static Public Member Functions | |
static constexpr size_t | msgSize (std::uint8_t num) |
message size assuming num array elements More... | |
Public Attributes | |
std::uint32_t | modeS_id = 0 |
plane's unique id at the sender side (might differ remotely in case of duplicates) More... | |
std::uint8_t | numVals = 0 |
number of dataRef values in the following array More... | |
std::uint8_t | filler = 0 |
not yet used More... | |
struct XPMP2::RemoteAcAnimTy::DataRefValTy | v [1] |
array of dataRef animation types and value More... | |
A/C animation dataRef changes.
This structure has variable length depending on the number of actual dataRef values to carry. And several of these variable length structures are added into one variable length network message.
struct XPMP2::RemoteAcAnimTy::DataRefValTy |
dataRef animation types and value
Class Members | ||
---|---|---|
DR_VALS | idx | index into XPMP2::Aircraft::v |
uint8_t | v | dataRef animation value |
|
inline |
Constructor.
|
inline |
current message size
|
inlinestaticconstexpr |
message size assuming num
array elements
std::uint8_t XPMP2::RemoteAcAnimTy::filler = 0 |
not yet used
std::uint32_t XPMP2::RemoteAcAnimTy::modeS_id = 0 |
plane's unique id at the sender side (might differ remotely in case of duplicates)
std::uint8_t XPMP2::RemoteAcAnimTy::numVals = 0 |
number of dataRef values in the following array
struct XPMP2::RemoteAcAnimTy::DataRefValTy XPMP2::RemoteAcAnimTy::v[1] |
array of dataRef animation types and value