![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IConsoleManager.h>
Inheritance diagram for IConsoleObject:Friends | |
| class | FConsoleManager |
Interface for console objects (variables and commands)
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Casts this object to an IConsoleCommand, verifying first that it is safe to do so
Reimplemented in FConsoleCommandBase, and FConsoleCommandShadow.
|
inlinevirtual |
Casts this object to an IConsoleVariable, returns 0 if it's not
Reimplemented in FConsoleVariableBase, and FConsoleVariableShadow.
|
inlinevirtual |
Reimplemented in FConsoleVariable< T >, FConsoleVariable< T >, and FConsoleVariableShadow.
|
inlinevirtual |
Reimplemented in FConsoleVariable< T >, FConsoleVariable< T >, and FConsoleVariableShadow.
|
inlinevirtual |
Reimplemented in FConsoleVariable< T >, FConsoleVariable< T >, and FConsoleVariableShadow.
|
inlinevirtual |
Reimplemented in FConsoleVariable< T >, FConsoleVariable< T >, and FConsoleVariableShadow.
|
inline |
Removes the specified flags in the internal state.
Reimplemented in FConsoleCommandShadow, FConsoleVariableBase, and FConsoleVariableShadow.
|
pure virtual |
Get the internal state of the flags.
Implemented in FConsoleVariableBase, FConsoleCommandBase, FConsoleVariableShadow, and FConsoleCommandShadow.
Implemented in FConsoleVariableBase, FConsoleCommandBase, FConsoleVariableShadow, and FConsoleCommandShadow.
|
inlinevirtual |
If the object has a parent (for instance the main cvar that owns an other-platform cvar), return it
|
inlinevirtual |
If IsShadowObject() returns true, this function will return the "real" variable the shadow cvar is shadowing. Generally not needed, as most functions (like GetInt, Set, etc) will operate on the real variable already
Reimplemented in FConsoleVariableShadow.
Reimplemented in FConsoleVariableShadow, and FConsoleCommandShadow.
|
inline |
Test the validity of the variable wrt its flags and current build type (e.g. ECVF_Cheat variables are disabled on some targets)
A shadow ConsoleObject is one that exists and can be used, but shouldn't be iterated over in anything that walks over every object and acts on it
Reimplemented in FConsoleVariableShadow.
Reimplemented in FConsoleVariable< T >, FConsoleVariableRef< T >, FConsoleVariable< T >, FConsoleVariableRef< T >, and FConsoleVariableShadow.
Reimplemented in FConsoleVariable< T >, FConsoleVariableRef< T >, FConsoleVariable< T >, FConsoleVariableRef< T >, and FConsoleVariableShadow.
Reimplemented in FConsoleVariable< T >, FConsoleVariableRef< T >, FConsoleVariable< T >, FConsoleVariableRef< T >, and FConsoleVariableShadow.
|
pure virtual |
Sets the internal flag state to the specified value.
Implemented in FConsoleVariableBase, FConsoleCommandBase, FConsoleVariableShadow, and FConsoleCommandShadow.
Implemented in FConsoleCommandBase, FConsoleCommandShadow, FConsoleVariableShadow, and FConsoleVariableBase.
|
inline |
Test is any of the specified flags is set in the internal state.
|
friend |