Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL
Inheritance Hierarchy
- IConsoleManager
- FConsoleManager
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
Include | #include "HAL/IConsoleManager.h" |
Syntax
struct IConsoleManager
Remarks
Handles console commands and variables, registered console variables are released on destruction
Destructors
Type | Name | Description | |
---|---|---|---|
Functions
Type | Name | Description | |
---|---|---|---|
void | AddConsoleHistoryEntry
(
const TCHAR* Key, |
||
void | The sinks are only called if a change has been done since the last time Should be called in very few points: | ||
IConsoleObject * | FindConsoleObject
(
const TCHAR* Name, |
Find a console variable or command | |
FString | FindConsoleObjectName
(
const IConsoleObject* Obj |
Lookup the name of a console object by its pointer | |
IConsoleVariable * | FindConsoleVariable
(
const TCHAR* Name, |
Find a console variable | |
TConsoleVariableData< bool > * | FindTConsoleVariableDataBool
(
const TCHAR* Name |
Find a typed console variable (faster access to the value, no virtual function call) | |
TConsoleVariableData< float > * | FindTConsoleVariableDataFloat
(
const TCHAR* Name |
Find a typed console variable (faster access to the value, no virtual function call) | |
TConsoleVariableData< int32 > * | FindTConsoleVariableDataInt
(
const TCHAR* Name |
Find a typed console variable (faster access to the value, no virtual function call) | |
void | ForEachConsoleObjectThatContains
(
const FConsoleObjectVisitor& Visitor, |
Not case sensitive, does not guarantee that UnregisterConsoleObject() will work in the loop | |
void | ForEachConsoleObjectThatStartsWith
(
const FConsoleObjectVisitor& Visitor, |
Iterate in O(n), not case sensitive, does not guarantee that UnregisterConsoleObject() will work in the loop | |
IConsoleManager & | Get () |
Returns the singleton for the console manager | |
void | GetConsoleHistory
(
const TCHAR* Key, |
||
bool | IsNameRegistered
(
const TCHAR* Name |
Check if a name (command or variable) has been registered with the console manager | |
FConsoleObjectWithNameMulticastDelegate & | |||
FConsoleVariableMulticastDelegate & | |||
bool | ProcessUserConsoleInput
(
const TCHAR* Input, |
Process user input e.g. "MyCVar" to get the current value of the console variable "MyCVar -5.2" to set the value to -5.2 "MyCVar ?" to get the help text | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that is handles by an Exec functions (for auto completion) | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes no arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a string console variable | |
IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a string console variable | |
IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a float console variable | |
IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a int console variable | |
IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a bool console variable | |
IConsoleVariable * | Create a reference to a show flag variable | ||
IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a int console variable | |
IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a string console variable | |
IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a bool console variable | |
IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a float console variable | |
FConsoleVariableSinkHandle | RegisterConsoleVariableSink_Handle
(
const FConsoleCommandDelegate& Command |
The registered command is executed at few defined points (see CallAllConsoleVariableSinks) | |
void | RegisterThreadPropagation
(
uint32 ThreadId, |
Currently only for render thread | |
void | UnregisterConsoleObject
(
const TCHAR* Name, |
Unregisters a console variable or command by name, if an object of that name was registered. | |
void | UnregisterConsoleObject
(
IConsoleObject* ConsoleObject, |
Unregisters a console object, if that object was registered. O(n), n is the console object count | |
void | The registered command is executed at few defined points (see CallAllConsoleVariableSinks) | ||
void | UnsetAllConsoleVariablesWithTag
(
FName Tag, |
When a plugin is unmounted, it needs to unset cvars that it had set when it was mounted. |
Constants
Name | Description |
---|---|
Singleton | Singleton for the console manager |