Drag[en]gine Script Module DragonScript  1.23
Dragengine.Commands.HelpConsoleCommand Class Reference

Console command showing information about commands. More...

Inheritance diagram for Dragengine.Commands.HelpConsoleCommand:
Dragengine.Commands.ConsoleCommand

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...
 

Detailed Description

Console command showing information about commands.

Displays either all supported commands or detailed information about a specific command.

Member Function Documentation

◆ execute()

void Dragengine.Commands.HelpConsoleCommand.execute ( Console  console,
Array  params 
)

Execute command.

Parameters
consoleConsole to send output to.
paramsList of parameters. Has to match command syntax.

Reimplemented from Dragengine.Commands.ConsoleCommand.

◆ getCommandManager()

CommandManager Dragengine.Commands.HelpConsoleCommand.getCommandManager ( )

Command manager.

◆ getConsoleCommands()

ConsoleCommandList Dragengine.Commands.HelpConsoleCommand.getConsoleCommands ( )

Console command list.

◆ new()

HelpConsoleCommand Dragengine.Commands.HelpConsoleCommand.new ( ConsoleCommandList  consoleCommands,
CommandManager  commandManager 
)

Create console command.

Both consoleCommands and commandManager can be null.

◆ setCommandManager()

void Dragengine.Commands.HelpConsoleCommand.setCommandManager ( CommandManager  commandManager)

Set command manager.

◆ setConsoleCommands()

void Dragengine.Commands.HelpConsoleCommand.setConsoleCommands ( ConsoleCommandList  consoleCommands)

Set console command list.


The documentation for this class was generated from the following file: