Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > UClientUnitTest
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include | #include "ClientUnitTest.h" |
virtual void NotifySocketSendRawPacket
&40;
void &42; Data,
int32 Count,
bool & bBlockSend
&41;
Remarks
Triggered for every packet sent to the server, when LowLevelSend is called. IMPORTANT: This occurs AFTER PacketHandler's have had a chance to modify packet data
NOTE: Don't consider data safe to modify (will need to modify the implementation, if that is desired)
Parameters
Name | Description |
---|---|
Data | The raw data/packet being sent |
Count | The amount of data being sent |
bBlockSend | Whether or not to block the send (defaults to false) |