Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UClientUnitTest
Description
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)
| Name | NotifySocketSendRawPacket |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
| Include Path | #include "ClientUnitTest.h" |
virtual void NotifySocketSendRawPacket
(
void * Data,
int32 Count,
bool & bBlockSend
)
Parameters
| Name | Remarks |
|---|---|
| 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) |