Property | Type | Description | |
---|---|---|---|
_ConsoleIsCaseSensitive | bool |
Method | Description | |
---|---|---|
AddCommand ( string command, string commandHelp, string infomessage, CommandDelegate fn, bool requiresAScene, bool fireOnceForAllScenes ) : void |
Add a command to those which can be invoked from the console.
|
|
ContainsCommand ( string command ) : bool | ||
FindNextOption ( string cmd ) : string[] | ||
GetHelp ( string cmd ) : List |
Get help for the given help string
|
|
Resolve ( string cmd ) : string[] |
public AddCommand ( string command, string commandHelp, string infomessage, CommandDelegate fn, bool requiresAScene, bool fireOnceForAllScenes ) : void | ||
command | string | The string that will make the command execute |
commandHelp | string | The message that will show the user how to use the command |
infomessage | string | Any information about how the command works or what it does |
fn | CommandDelegate | |
requiresAScene | bool | Whether this command requires a scene to be fired |
fireOnceForAllScenes | bool | Whether this command will only be executed once if there is no current scene |
return | void |
public ContainsCommand ( string command ) : bool | ||
command | string | |
return | bool |
public FindNextOption ( string cmd ) : string[] | ||
cmd | string | |
return | string[] |
public GetHelp ( string cmd ) : List |
||
cmd | string | Parsed parts of the help string. If empty then general help is returned. |
return | List |