Drag[en]gine Script Module DragonScript
1.23
|
Console command showing information about commands. More...
Public Member Functions | |
void | execute (Console console, Array params) |
Execute command. More... | |
CommandManager | getCommandManager () |
Command manager. More... | |
ConsoleCommandList | getConsoleCommands () |
Console command list. More... | |
HelpConsoleCommand | new (ConsoleCommandList consoleCommands, CommandManager commandManager) |
Create console command. More... | |
void | setCommandManager (CommandManager commandManager) |
Set command manager. More... | |
void | setConsoleCommands (ConsoleCommandList consoleCommands) |
Set console command list. More... | |
Public Member Functions inherited from Dragengine.Commands.ConsoleCommand | |
String | getDescription () |
Description to display to user. More... | |
String | getName () |
Unique name of command. More... | |
String | getSyntax () |
Command syntax. More... | |
ConsoleCommand | new () |
Create console command. More... | |
void | setDescription (String description) |
void | setName (String name) |
Set unique name of command. More... | |
void | setSyntax (String syntax) |
Set command syntax. More... | |
Console command showing information about commands.
Displays either all supported commands or detailed information about a specific command.
void Dragengine.Commands.HelpConsoleCommand.execute | ( | Console | console, |
Array | params | ||
) |
Execute command.
console | Console to send output to. |
params | List of parameters. Has to match command syntax. |
Reimplemented from Dragengine.Commands.ConsoleCommand.
CommandManager Dragengine.Commands.HelpConsoleCommand.getCommandManager | ( | ) |
Command manager.
ConsoleCommandList Dragengine.Commands.HelpConsoleCommand.getConsoleCommands | ( | ) |
Console command list.
HelpConsoleCommand Dragengine.Commands.HelpConsoleCommand.new | ( | ConsoleCommandList | consoleCommands, |
CommandManager | commandManager | ||
) |
Create console command.
Both consoleCommands and commandManager can be null.
void Dragengine.Commands.HelpConsoleCommand.setCommandManager | ( | CommandManager | commandManager | ) |
Set command manager.
void Dragengine.Commands.HelpConsoleCommand.setConsoleCommands | ( | ConsoleCommandList | consoleCommands | ) |
Set console command list.