diff options
author | Justin Clarke Casey | 2009-02-06 18:18:01 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-06 18:18:01 +0000 |
commit | 00a3cbd6fa9d84fe28b3a7f033e2452d6a3f1d69 (patch) | |
tree | f70297e039ebd6fc1c69e226e5f28683476d61d6 /OpenSim/Region/Framework/Interfaces | |
parent | This changeset is the step 1 of 2 in refactoring (diff) | |
download | opensim-SC_OLD-00a3cbd6fa9d84fe28b3a7f033e2452d6a3f1d69.zip opensim-SC_OLD-00a3cbd6fa9d84fe28b3a7f033e2452d6a3f1d69.tar.gz opensim-SC_OLD-00a3cbd6fa9d84fe28b3a7f033e2452d6a3f1d69.tar.bz2 opensim-SC_OLD-00a3cbd6fa9d84fe28b3a7f033e2452d6a3f1d69.tar.xz |
* Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ICommander.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ICommander.cs b/OpenSim/Region/Framework/Interfaces/ICommander.cs index 17a2e4a..f94e8e8 100644 --- a/OpenSim/Region/Framework/Interfaces/ICommander.cs +++ b/OpenSim/Region/Framework/Interfaces/ICommander.cs | |||
@@ -25,6 +25,8 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections.Generic; | ||
29 | |||
28 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
29 | { | 31 | { |
30 | public interface ICommander | 32 | public interface ICommander |
@@ -39,6 +41,11 @@ namespace OpenSim.Region.Framework.Interfaces | |||
39 | /// </value> | 41 | /// </value> |
40 | string Help { get; } | 42 | string Help { get; } |
41 | 43 | ||
44 | /// <summary> | ||
45 | /// The commands available for this commander | ||
46 | /// </summary> | ||
47 | Dictionary<string, ICommand> Commands { get; } | ||
48 | |||
42 | void ProcessConsoleCommand(string function, string[] args); | 49 | void ProcessConsoleCommand(string function, string[] args); |
43 | void RegisterCommand(string commandName, ICommand command); | 50 | void RegisterCommand(string commandName, ICommand command); |
44 | void Run(string function, object[] args); | 51 | void Run(string function, object[] args); |