Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include |
#include "ClientUnitTest.h" |
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
Parameter |
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) |