allow streaming of data

This commit is contained in:
Erwin Coumans
2020-10-07 10:12:02 -07:00
parent 9b81709669
commit ad0994022d
5 changed files with 121 additions and 15 deletions

View File

@@ -5802,7 +5802,7 @@ bool PhysicsServerCommandProcessor::processCustomCommand(const struct SharedMemo
serverStatusOut.m_numDataStreamBytes = numBytes;
for (int i = 0; i < numBytes; i++)
{
bufferServerToClient[i] = returnData->m_data1[i];
bufferServerToClient[i] = returnData->m_data1[i+ startBytes];
}
serverCmd.m_customCommandResultArgs.m_returnDataSizeInBytes = returnData->m_length;
serverCmd.m_customCommandResultArgs.m_returnDataType = returnData->m_type;