[FSD] Add rehost packet ($XX) for VATSIM

This commit is contained in:
Mat Sutcliffe
2022-02-16 21:40:46 +00:00
parent 5106859ed9
commit d2fadccf4e
5 changed files with 138 additions and 0 deletions

View File

@@ -379,6 +379,7 @@ namespace BlackCore::Fsd
void handleCustomPilotPacket(const QStringList &tokens);
void handleFsdIdentification(const QStringList &tokens);
void handleRevBClientPartsPacket(const QStringList &tokens);
void handleRehost(const QStringList &tokens);
//
void handleUnknownPacket(const QString &line);
@@ -475,6 +476,7 @@ namespace BlackCore::Fsd
std::unique_ptr<QTcpSocket> m_socket = std::make_unique<QTcpSocket>(this); //!< used TCP socket, parent needed as it runs in worker thread
void connectSocketSignals();
bool m_rehosting = false;
std::atomic_bool m_unitTestMode { false };
std::atomic_bool m_printToConsole { false };