diff options
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/ICommand.cs')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/ICommand.cs | 9 |
1 files changed, 9 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 | ||
30 | namespace OpenSim.Region.Environment.Interfaces | 30 | namespace 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 | } |