UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScopedNetConnectionSettings Struct Reference

#include <NetConnection.h>

Public Member Functions

 FScopedNetConnectionSettings (UNetConnection *InConnection, FNetConnectionSettings NewSettings, bool Apply=true)
 
 ~FScopedNetConnectionSettings ()
 

Public Attributes

TWeakObjectPtr< UNetConnectionConnection
 
FNetConnectionSettings OldSettings
 
bool ShouldApply
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FScopedNetConnectionSettings()

FScopedNetConnectionSettings::FScopedNetConnectionSettings ( UNetConnection InConnection,
FNetConnectionSettings  NewSettings,
bool  Apply = true 
)
inline

◆ ~FScopedNetConnectionSettings()

FScopedNetConnectionSettings::~FScopedNetConnectionSettings ( )
inline

Member Data Documentation

◆ Connection

TWeakObjectPtr<UNetConnection> FScopedNetConnectionSettings::Connection

◆ OldSettings

FNetConnectionSettings FScopedNetConnectionSettings::OldSettings

◆ ShouldApply

bool FScopedNetConnectionSettings::ShouldApply

The documentation for this struct was generated from the following file: