Ref T410, simConnectProc / FsxCommon SB area

* count number of received data
* set network and SB running flag
This commit is contained in:
Klaus Basan
2018-11-01 20:11:32 +01:00
parent e98a420d5d
commit 212460f676
3 changed files with 16 additions and 4 deletions

View File

@@ -372,6 +372,7 @@ namespace BlackSimPlugin
case SIMCONNECT_RECV_ID_CLIENT_DATA:
{
if (!simulatorFsxP3D->m_useSbOffsets) { break; }
simulatorFsxP3D->m_sbDataReceived++;
const SIMCONNECT_RECV_CLIENT_DATA *clientData = static_cast<SIMCONNECT_RECV_CLIENT_DATA *>(pData);
if (clientData->dwRequestID == CSimConnectDefinitions::RequestSbData)
{