OpenSim
|
A class to enable modules to register console and script commands, which enforces typing and valid input. More...
Public Member Functions | |
Commander (string name) | |
Constructor More... | |
void | RegisterCommand (string commandName, ICommand command) |
string | GenerateRuntimeAPI () |
Generates a runtime C# class which can be compiled and inserted via reflection to enable modules to register new script commands More... | |
void | Run (string function, object[] args) |
Runs a specified function with attached arguments *** DO NOT CALL DIRECTLY. *** Call ProcessConsoleCommand instead if handling human input. More... | |
void | ProcessConsoleCommand (string function, string[] args) |
Properties | |
string | Name [get] |
string | Help [get] |
Dictionary< string, ICommand > | Commands [get] |
Properties inherited from OpenSim.Region.Framework.Interfaces.ICommander | |
string | Name [get] |
string | Help [get] |
Dictionary< string, ICommand > | Commands [get] |
The commands available for this commander More... | |
A class to enable modules to register console and script commands, which enforces typing and valid input.
Definition at line 41 of file Commander.cs.
|
inline |
|
inline |
Generates a runtime C# class which can be compiled and inserted via reflection to enable modules to register new script commands
Implements OpenSim.Region.Framework.Interfaces.ICommander.
Definition at line 103 of file Commander.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICommander.
Definition at line 142 of file Commander.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICommander.
Definition at line 94 of file Commander.cs.
|
inline |
Runs a specified function with attached arguments *** DO NOT CALL DIRECTLY. *** Call ProcessConsoleCommand instead if handling human input.
function | The function name to call |
args | The function parameters |
Implements OpenSim.Region.Framework.Interfaces.ICommander.
Definition at line 137 of file Commander.cs.
|
get |
Definition at line 87 of file Commander.cs.
|
get |
Definition at line 57 of file Commander.cs.
|
get |
Definition at line 51 of file Commander.cs.