UUnitTestChannel

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

Choose your operating system:

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(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.