Navigation
API > API/Runtime > API/Runtime/Engine
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
| Name | FScopedNetConnectionSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
| Include Path | #include "Engine/NetConnection.h" |
Syntax
struct FScopedNetConnectionSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedNetConnectionSettings
(
UNetConnection* InConnection, |
Engine/NetConnection.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedNetConnectionSettings() |
Engine/NetConnection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Connection | TWeakObjectPtr< UNetConnection > | Engine/NetConnection.h | ||
| OldSettings | FNetConnectionSettings | Engine/NetConnection.h | ||
| ShouldApply | bool | Engine/NetConnection.h |