aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ICommandConsole.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-07-18 22:27:39 +0100
committerJustin Clark-Casey (justincc)2014-07-18 22:27:39 +0100
commit9be935ac6d74fd3b8c0c95058a575e400dd916a4 (patch)
treee3fb5cc9f75bb555f879dcfda5a496eaf4a2594b /OpenSim/Framework/ICommandConsole.cs
parentrefactor: slightly adjust some code in ODECharacter.Move() to eliminate a con... (diff)
downloadopensim-SC_OLD-9be935ac6d74fd3b8c0c95058a575e400dd916a4.zip
opensim-SC_OLD-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.gz
opensim-SC_OLD-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.bz2
opensim-SC_OLD-9be935ac6d74fd3b8c0c95058a575e400dd916a4.tar.xz
Add ICommands.HasCommand() method so that we can detect whether a command has already been registered without needing to also run it
Diffstat (limited to 'OpenSim/Framework/ICommandConsole.cs')
-rw-r--r--OpenSim/Framework/ICommandConsole.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/ICommandConsole.cs b/OpenSim/Framework/ICommandConsole.cs
index a6573f8..c6c6d40 100644
--- a/OpenSim/Framework/ICommandConsole.cs
+++ b/OpenSim/Framework/ICommandConsole.cs
@@ -67,9 +67,11 @@ namespace OpenSim.Framework
67 string help, string longhelp, string descriptivehelp, 67 string help, string longhelp, string descriptivehelp,
68 CommandDelegate fn); 68 CommandDelegate fn);
69 69
70 string[] FindNextOption(string[] cmd, bool term); 70 bool HasCommand(string command);
71 71
72 string[] Resolve(string[] cmd); 72 string[] FindNextOption(string[] command, bool term);
73
74 string[] Resolve(string[] command);
73 75
74 XmlElement GetXml(XmlDocument doc); 76 XmlElement GetXml(XmlDocument doc);
75 } 77 }