![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IConsoleManager.h>
Inheritance diagram for FAutoConsoleCommand:Public Member Functions | |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandDelegate &Command, uint32 Flags=ECVF_Default) |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithArgsDelegate &Command, uint32 Flags=ECVF_Default) |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithOutputDeviceDelegate &Command, uint32 Flags=ECVF_Default) |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithArgsAndOutputDeviceDelegate &Command, uint32 Flags=ECVF_Default) |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithWorldDelegate &Command, uint32 Flags=ECVF_Default) |
| CORE_API | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithWorldArgsAndOutputDeviceDelegate &Command, uint32 Flags=ECVF_Default) |
Autoregistering console command
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes no arguments
| 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 |
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandWithArgsDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes arguments
| 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 |
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandWithOutputDeviceDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes an output device
| 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 |
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandWithArgsAndOutputDeviceDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes an output device
| 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 |
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandWithWorldDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes a world argument
| 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 |
| FAutoConsoleCommand::FAutoConsoleCommand | ( | const TCHAR * | Name, |
| const TCHAR * | Help, | ||
| const FConsoleCommandWithWorldArgsAndOutputDeviceDelegate & | Command, | ||
| uint32 | Flags = ECVF_Default |
||
| ) |
Register a console command that takes arguments, a world argument and an output device
| 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 |