aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Interfaces/ICommand.cs9
-rw-r--r--OpenSim/Region/Environment/Interfaces/ICommander.cs2
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ICommand.cs b/OpenSim/Region/Environment/Interfaces/ICommand.cs
index 4eeb16c..c1da2c3 100644
--- a/OpenSim/Region/Environment/Interfaces/ICommand.cs
+++ b/OpenSim/Region/Environment/Interfaces/ICommand.cs
@@ -29,12 +29,21 @@ using System.Collections.Generic;
29 29
30namespace OpenSim.Region.Environment.Interfaces 30namespace OpenSim.Region.Environment.Interfaces
31{ 31{
32 public enum CommandIntentions
33 {
34 COMMAND_STATISTICAL,
35 COMMAND_NON_HAZARDOUS,
36 COMMAND_HAZARDOUS
37 };
38
32 public interface ICommand 39 public interface ICommand
33 { 40 {
34 void AddArgument(string name, string helptext, string type); 41 void AddArgument(string name, string helptext, string type);
35 Dictionary<string, string> Arguments { get; } 42 Dictionary<string, string> Arguments { get; }
36 string Help { get; } 43 string Help { get; }
37 string Name { get; } 44 string Name { get; }
45 CommandIntentions Intentions { get; }
46
38 void Run(object[] args); 47 void Run(object[] args);
39 void ShowConsoleHelp(); 48 void ShowConsoleHelp();
40 } 49 }
diff --git a/OpenSim/Region/Environment/Interfaces/ICommander.cs b/OpenSim/Region/Environment/Interfaces/ICommander.cs
index c4102af..f2260c3 100644
--- a/OpenSim/Region/Environment/Interfaces/ICommander.cs
+++ b/OpenSim/Region/Environment/Interfaces/ICommander.cs
@@ -27,6 +27,8 @@
27 27
28namespace OpenSim.Region.Environment.Interfaces 28namespace OpenSim.Region.Environment.Interfaces
29{ 29{
30
31
30 public interface ICommander 32 public interface ICommander
31 { 33 {
32 void ProcessConsoleCommand(string function, string[] args); 34 void ProcessConsoleCommand(string function, string[] args);