Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL > IConsoleManager > RegisterConsoleCommand
- IConsoleManager::RegisterConsoleCommand()
- FConsoleManager::RegisterConsoleCommand()
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
Include | #include "HAL/IConsoleManager.h" |
IConsoleCommand &42; RegisterConsoleCommand
&40;
const TCHAR &42; Name,
const TCHAR &42; Help,
const FConsoleCommandWithArgsDelegate & 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 |