|
|
static CommandList & | Commands () |
| |
|
static AliasList & | Aliases () |
| |
| static void | CmdRegister (const std::string &name, IConsoleCmdProc *proc, IConsoleHook *hook=nullptr) |
| | Register a new command to be used in the console. More...
|
| |
| static IConsoleCmd * | CmdGet (const std::string &name) |
| | Find the command pointed to by its string. More...
|
| |
| static void | AliasRegister (const std::string &name, const std::string &cmd) |
| | Register a an alias for an already existing command in the console. More...
|
| |
| static IConsoleAlias * | AliasGet (const std::string &name) |
| | Find the alias pointed to by its string. More...
|
| |
Definition at line 62 of file console_internal.h.
◆ AliasGet()
◆ AliasRegister()
| void IConsole::AliasRegister |
( |
const std::string & |
name, |
|
|
const std::string & |
cmd |
|
) |
| |
|
static |
Register a an alias for an already existing command in the console.
- Parameters
-
| name | name of the alias that will be used |
| cmd | name of the command that 'name' will be alias of |
Definition at line 184 of file console.cpp.
◆ CmdGet()
| IConsoleCmd * IConsole::CmdGet |
( |
const std::string & |
name | ) |
|
|
static |
◆ CmdRegister()
| void IConsole::CmdRegister |
( |
const std::string & |
name, |
|
|
IConsoleCmdProc * |
proc, |
|
|
IConsoleHook * |
hook = nullptr |
|
) |
| |
|
static |
Register a new command to be used in the console.
- Parameters
-
| name | name of the command that will be used |
| proc | function that will be called upon execution of command |
Definition at line 162 of file console.cpp.
The documentation for this struct was generated from the following files: