Drag[en]gine Script Module DragonScript
1.21
|
List of console commands. More...
Public Member Functions | |
void | add (ConsoleCommand command) |
Add console command. More... | |
void | forEach (Block ablock) |
Visit commands with a block. More... | |
ConsoleCommand | getAt (int index) |
Command at index. More... | |
int | getCount () |
Number of commands. More... | |
ConsoleCommand | getNamed (String name) |
Named command or null if not found. More... | |
bool | has (String name) |
Named command is present. More... | |
ConsoleCommandList | new () |
Create command list. More... | |
void | remove (ConsoleCommand command) |
Remove console command. More... | |
void | removeAll () |
Remove all commands. More... | |
List of console commands.
void Dragengine.Commands.ConsoleCommandList.add | ( | ConsoleCommand | command | ) |
void Dragengine.Commands.ConsoleCommandList.forEach | ( | Block | ablock | ) |
Visit commands with a block.
ConsoleCommand Dragengine.Commands.ConsoleCommandList.getAt | ( | int | index | ) |
Command at index.
EOutOfBOundary | index is less than 0 or larger than or equal to getCount(). |
int Dragengine.Commands.ConsoleCommandList.getCount | ( | ) |
Number of commands.
ConsoleCommand Dragengine.Commands.ConsoleCommandList.getNamed | ( | String | name | ) |
Named command or null if not found.
bool Dragengine.Commands.ConsoleCommandList.has | ( | String | name | ) |
Named command is present.
ConsoleCommandList Dragengine.Commands.ConsoleCommandList.new | ( | ) |
Create command list.
void Dragengine.Commands.ConsoleCommandList.remove | ( | ConsoleCommand | command | ) |
Remove console command.
EInvalidParam | Command with name is absent. |
void Dragengine.Commands.ConsoleCommandList.removeAll | ( | ) |
Remove all commands.