Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
A net channel for overriding the implementation of traditional net channels, for e.g. blocking control channel messages, to enable minimal clients
| Name | UUnitTestChannel |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/Net/UnitTestChannel.h |
| Include Path | #include "Net/UnitTestChannel.h" |
Syntax
UCLASS (Transient)
class UUnitTestChannel : public UChannel
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UChannel → UUnitTestChannel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUnitTestChannel
(
const FObjectInitializer& ObjectInitializer |
UUNitTestChannel | Net/UnitTestChannel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bVerifyOpen | bool | Whether or not this channel should verify it has been opened (resends initial packets until acked, like control channel) | Net/UnitTestChannel.h | |
| MinClient | TObjectPtr< UMinimalClient > | The minimal client which may require received bunch notifications | Net/UnitTestChannel.h |
Functions
Public
Overridden from UChannel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Init
(
UNetConnection* InConnection, |
Net/UnitTestChannel.h | ||
virtual void ReceivedBunch
(
FInBunch& Bunch |
Net/UnitTestChannel.h | ||
virtual void Tick() |
Net/UnitTestChannel.h |