Navigation
API > API/Runtime > API/Runtime/Engine
Temporarily overrides network emulation settings for a specific NetDriver while in scope. Only works when DO_ENABLE_NET_TEST is true.
| Name | FScopedNetEmulationOverride |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Tests/NetTestHelpers.h |
| Include Path | #include "Tests/NetTestHelpers.h" |
Syntax
class FScopedNetEmulationOverride
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedNetEmulationOverride
(
UNetDriver* InNetDriver, |
Tests/NetTestHelpers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedNetEmulationOverride() |
Tests/NetTestHelpers.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SavedSettings | FPacketSimulationSettings | Tests/NetTestHelpers.h | ||
| WeakNetDriver | TWeakObjectPtr< UNetDriver > | Tests/NetTestHelpers.h |