Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UMinimalClient
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/MinimalClient.h |
Include | #include "MinimalClient.h" |
Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/MinimalClient.cpp |
FOutBunch &42; CreateChannelBunchByName
&40;
const FName & ChName,
int32 ChIndex
&41;
Remarks
Creates a bunch for the specified channel, with the ability to create the channel as well WARNING: Can return nullptr! (e.g. if the control channel is saturated) Returns the created bunch, or nullptr if it couldn't be created
Parameters
Name | Description |
---|---|
ChName | Specify the type of channel the bunch will be sent on |
ChIndex | Specify the index of the channel to send the bunch on (otherwise, picks the next free/unused channel) |