This commit is contained in:
Mat Sutcliffe
2021-02-25 01:17:54 +00:00
parent ece3173573
commit 31c0f20ac6
4 changed files with 37 additions and 39 deletions

View File

@@ -22,7 +22,8 @@ namespace BlackCore
PilotDataUpdate::PilotDataUpdate() : MessageBase()
{ }
PilotDataUpdate::PilotDataUpdate(CTransponder::TransponderMode transponderMode, const QString &sender, int transponderCode, PilotRating rating, double latitude, double longitude, int altitudeTrue, int altitudePressure, int groundSpeed,
PilotDataUpdate::PilotDataUpdate(CTransponder::TransponderMode transponderMode, const QString &sender, int transponderCode, PilotRating rating,
double latitude, double longitude, int altitudeTrue, int altitudePressure, int groundSpeed,
double pitch, double bank, double heading, bool onGround)
: MessageBase(sender, {}),
m_transponderMode(transponderMode),

View File

@@ -24,7 +24,8 @@ namespace BlackCore
{
public:
//! Constructor
PilotDataUpdate(BlackMisc::Aviation::CTransponder::TransponderMode transponderMode, const QString &sender, int transponderCode, PilotRating rating, double latitude, double longitude, int altitudeTrue, int altitudePressure, int groundSpeed,
PilotDataUpdate(BlackMisc::Aviation::CTransponder::TransponderMode transponderMode, const QString &sender, int transponderCode, PilotRating rating,
double latitude, double longitude, int altitudeTrue, int altitudePressure, int groundSpeed,
double pitch, double bank, double heading, bool onGround);
//! Message converted to tokens