aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.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/Console/MockConsole.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 '')
-rw-r--r--OpenSim/Framework/Console/MockConsole.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/MockConsole.cs b/OpenSim/Framework/Console/MockConsole.cs
index 18a48bd..1a142df 100644
--- a/OpenSim/Framework/Console/MockConsole.cs
+++ b/OpenSim/Framework/Console/MockConsole.cs
@@ -82,6 +82,7 @@ namespace OpenSim.Framework.Console
82 public void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn) {} 82 public void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn) {}
83 public void AddCommand(string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn) {} 83 public void AddCommand(string module, bool shared, string command, string help, string longhelp, string descriptivehelp, CommandDelegate fn) {}
84 public string[] FindNextOption(string[] cmd, bool term) { return null; } 84 public string[] FindNextOption(string[] cmd, bool term) { return null; }
85 public bool HasCommand(string cmd) { return false; }
85 public string[] Resolve(string[] cmd) { return null; } 86 public string[] Resolve(string[] cmd) { return null; }
86 public XmlElement GetXml(XmlDocument doc) { return null; } 87 public XmlElement GetXml(XmlDocument doc) { return null; }
87 } 88 }