Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FConsoleManager > API/Runtime/Core/HAL/FConsoleManager/RegisterConsoleCommand
- IConsoleManager::RegisterConsoleCommand()
- FConsoleManager::RegisterConsoleCommand()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/ConsoleManager.h |
| Include | #include "HAL/ConsoleManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp |
virtual IConsoleCommand &42; RegisterConsoleCommand
&40;
const TCHAR &42; Name,
const TCHAR &42; Help,
const FConsoleCommandWithOutputDeviceDelegate & Command,
uint32 Flags
&41;
Remarks
Register a console command that takes arguments
Parameters
| Name | Description |
|---|---|
| Name | The name of this command (must not be nullptr) |
| Help | Help text for this command |
| Command | The user function to call when this command is executed |
| Flags | Optional flags bitmask |