FScopedNetConnectionSettings

Allows you to temporarily set connection settings within a scape.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Syntax

struct FScopedNetConnectionSettings

Remarks

Allows you to temporarily set connection settings within a scape. This will also force flush the connection before/after. Lets you do things like force a single channel to delay or drop packets

Variables

Name Description

Public variable

UNetConnection ...

 

Connection

Public variable

FNetConnectionS...

 

OldSettings

Public variable

bool

 

ShouldApply

Constructors

Name Description

Public function

FScopedNetConnectionSettings

(
    UNetConnection* InConnection,
    FNetConnectionSettings NewSettings,
    bool Apply
)

Destructors

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