|
Drag[en]gine Script Module DragonScript 1.32.1
|
List of console commands. More...
Public Member Functions | |
| void | add (ConsoleCommand command) |
| Add console command. | |
| void | forEach (Block ablock) |
| Visit commands with a block. | |
| ConsoleCommand | getAt (int index) |
| Command at index. | |
| int | getCount () |
| Number of commands. | |
| ConsoleCommand | getNamed (String name) |
| Named command or null if not found. | |
| bool | has (String name) |
| Named command is present. | |
| ConsoleCommandList | new () |
| Create command list. | |
| void | remove (ConsoleCommand command) |
| Remove console command. | |
| void | removeAll () |
| Remove all commands. | |
List of console commands.
| void Dragengine.Commands.ConsoleCommandList.add | ( | ConsoleCommand | command | ) |
Add console command.
| EInvalidParam | Command name is not valid. |
| EInvalidParam | Command with name is present. |
| 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.