Navigation
API > API/Runtime > API/Runtime/Engine
Used to set a cvar and restore it to it's original value when destroyed
| Name | FScopedCVarOverrideInt |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Tests/NetTestHelpers.h |
| Include Path | #include "Tests/NetTestHelpers.h" |
Syntax
class FScopedCVarOverrideInt
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Tests/NetTestHelpers.h | |||
FScopedCVarOverrideInt
(
const FScopedCVarOverrideInt& |
Tests/NetTestHelpers.h | ||
FScopedCVarOverrideInt
(
const TCHAR* VariableName, |
Tests/NetTestHelpers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedCVarOverrideInt() |
Tests/NetTestHelpers.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SavedValue | int32 | Tests/NetTestHelpers.h | ||
| Variable | IConsoleVariable * | Tests/NetTestHelpers.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Tests/NetTestHelpers.h | |||
FScopedCVarOverrideInt & operator=
(
const FScopedCVarOverrideInt& |
Tests/NetTestHelpers.h |