mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Make FS9 works with ISimulatorListener
* The FS9 host is started in the Listener * When FS9 starts up, it is called via the lobby to join the multiplayer * Some minor changes in CContextSimulator
This commit is contained in:
committed by
Roland Winklmeier
parent
edc0646ab2
commit
570f4aa4ea
@@ -72,6 +72,7 @@ namespace BlackSimPlugin
|
||||
MultiPlayerPacketParser::writeType(message, CFs9Sdk::MPCHAT_PACKET_ID_CHAT_TEXT_SEND);
|
||||
MultiPlayerPacketParser::writeSize(message, mpChatText.chat_data.size() + 1);
|
||||
message = MultiPlayerPacketParser::writeMessage(message, mpChatText);
|
||||
qDebug() << "Message:" << textMessage;
|
||||
sendMessage(message);
|
||||
}
|
||||
|
||||
@@ -87,7 +88,6 @@ namespace BlackSimPlugin
|
||||
stopHosting();
|
||||
}
|
||||
|
||||
|
||||
HRESULT CFs9Host::startHosting(const QString &session, const QString &callsign)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
||||
Reference in New Issue
Block a user