Autoregistering console command
更多...
#include <IConsoleManager.h>
|
| | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandDelegate &Command, uint32 Flags=ECVF_Default) |
| | Register a console command that takes no arguments 更多...
|
| |
| | FAutoConsoleCommand (const TCHAR *Name, const TCHAR *Help, const FConsoleCommandWithArgsDelegate &Command, uint32 Flags=ECVF_Default) |
| | Register a console command that takes arguments 更多...
|
| |
| | 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 更多...
|
| |
Autoregistering console command
◆ FAutoConsoleCommand() [1/3]
| FAutoConsoleCommand::FAutoConsoleCommand |
( |
const TCHAR * |
Name, |
|
|
const TCHAR * |
Help, |
|
|
const FConsoleCommandDelegate & |
Command, |
|
|
uint32 |
Flags = ECVF_Default |
|
) |
| |
|
inline |
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() [2/3]
| FAutoConsoleCommand::FAutoConsoleCommand |
( |
const TCHAR * |
Name, |
|
|
const TCHAR * |
Help, |
|
|
const FConsoleCommandWithArgsDelegate & |
Command, |
|
|
uint32 |
Flags = ECVF_Default |
|
) |
| |
|
inline |
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() [3/3]
| FAutoConsoleCommand::FAutoConsoleCommand |
( |
const TCHAR * |
Name, |
|
|
const TCHAR * |
Help, |
|
|
const FConsoleCommandWithWorldArgsAndOutputDeviceDelegate & |
Command, |
|
|
uint32 |
Flags = ECVF_Default |
|
) |
| |
|
inline |
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 |
该类的文档由以下文件生成: