Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UClientUnitTest
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include | #include "ClientUnitTest.h" |
virtual void NotifyReceivedRawPacket
&40;
void &42; Data,
int32 & Count
&41;
Remarks
If EUnitTestFlags::CaptureReceiveRaw is set, this is triggered for every packet received from the server NOTE: Data is a uint8 array, of size 'NETWORK_MAX_PACKET', and elements can safely be modified
Parameters
Name | Description |
---|---|
Data | The raw data/packet being received (this data can safely be modified, up to length 'NETWORK_MAX_PACKET') |
Count | The amount of data received (if 'Data' is modified, this should be modified to reflect the new length) |