Navigation
API > API/Runtime > API/Runtime/Core
Disable deprecation warnings for access to cvars for the duration of the current scope, enabling internal use of deprecated cvars without generating warnings / ensures. Analogous to the use case for the pragmas for deprecated code.
| Name | FCVarDisableDeprecationWarningScope |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
Syntax
struct FCVarDisableDeprecationWarningScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCVarDisableDeprecationWarningScope
(
bool bInCondition |
If bInCondition is false, the scope does nothing such that it can be conditionally used. | HAL/IConsoleManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FCVarDisableDeprecationWarningScope() |
HAL/IConsoleManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCondition | const bool | HAL/IConsoleManager.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsDisabled() |
HAL/IConsoleManager.h |