UMinimalClient::CreateChannelBunch

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)

Windows
MacOS
Linux

Deprecated

  • Use CreateChannelBunchByName

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

Syntax

FOutBunch * CreateChannelBunch
(
    EChannelType ChType,
    int32 ChIndex
)

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

Returns the created bunch, or nullptr if it couldn't be created

Parameters

Parameter

Description

ChType

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss