UUnitTestChannel

A net channel for overriding the implementation of traditional net channels, for e.g. blocking control channel messages, to enable minimal clients

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/Net/UnitTestChannel.h

Include

#include "Net/UnitTestChannel.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient)
class UUnitTestChannel : public UChannel

Remarks

A net channel for overriding the implementation of traditional net channels, for e.g. blocking control channel messages, to enable minimal clients

Variables

Name Description

Public variable

bool

 

bVerifyOpen

Whether or not this channel should verify it has been opened (resends initial packets until acked, like control channel)

Public variable

UMinimalClient ...

 

MinClient

The minimal client which may require received bunch notifications

Constructors

Name Description

Public function

UUnitTestChannel

(
    const FObjectInitializer& ObjectIn...
)

UUNitTestChannel

Overridden from UChannel

Name Description

Public function Virtual

void

 

Init

(
    UNetConnection* InConnection,
    int32 InChIndex,
    EChannelCreateFlags CreateFlags
)

UChannel interface.

Public function Virtual

void

 

ReceivedBunch

(
    FInBunch& Bunch
)

Handle an incoming bunch.

Public function Virtual

void

 

Tick()

Handle time passing on this 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