Ref T659, signature so changed livery/modelstring can be set, and/or not send at all

This commit is contained in:
Klaus Basan
2019-07-22 01:37:35 +02:00
committed by Mat Sutcliffe
parent 184e776c8b
commit 2fb207c028
6 changed files with 19 additions and 7 deletions

View File

@@ -124,10 +124,14 @@ namespace BlackCore
}
//! \copydoc IContextNetwork::connectToNetwork
virtual BlackMisc::CStatusMessage connectToNetwork(const BlackMisc::Network::CServer &server, BlackCore::INetwork::LoginMode mode) override
virtual BlackMisc::CStatusMessage connectToNetwork(const BlackMisc::Network::CServer &server, const QString &extraLiveryString, bool sendLivery, const QString &extraModelString, bool sendModelString, BlackCore::INetwork::LoginMode mode) override
{
Q_UNUSED(mode);
Q_UNUSED(server);
Q_UNUSED(extraModelString);
Q_UNUSED(extraLiveryString);
Q_UNUSED(sendLivery);
Q_UNUSED(sendModelString);
logEmptyContextWarning(Q_FUNC_INFO);
return statusMessageEmptyContext();
}