aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2012-03-26 01:21:44 +0100
committerMelanie2012-03-26 01:21:44 +0100
commit5e8d64c9439fd25dd1ef23df223927e55f9a86b9 (patch)
tree5fe5ad45698da9c59b175f4eb728b4d638debffe /OpenSim/Region/Framework
parentCorrect the design error I introduced into ScriptComms. Untested but about to (diff)
downloadopensim-SC_OLD-5e8d64c9439fd25dd1ef23df223927e55f9a86b9.zip
opensim-SC_OLD-5e8d64c9439fd25dd1ef23df223927e55f9a86b9.tar.gz
opensim-SC_OLD-5e8d64c9439fd25dd1ef23df223927e55f9a86b9.tar.bz2
opensim-SC_OLD-5e8d64c9439fd25dd1ef23df223927e55f9a86b9.tar.xz
Dynamically create the delegate type to reduce complexity in the caller
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
index 8a08fbe..34586f5 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Reflection;
29using OpenMetaverse; 30using OpenMetaverse;
30 31
31namespace OpenSim.Region.Framework.Interfaces 32namespace OpenSim.Region.Framework.Interfaces
@@ -45,7 +46,7 @@ namespace OpenSim.Region.Framework.Interfaces
45 /// </summary> 46 /// </summary>
46 event ScriptCommand OnScriptCommand; 47 event ScriptCommand OnScriptCommand;
47 48
48 void RegisterScriptInvocation(Delegate fn); 49 void RegisterScriptInvocation(object target, MethodInfo mi);
49 Delegate[] GetScriptInvocationList(); 50 Delegate[] GetScriptInvocationList();
50 51
51 Delegate LookupScriptInvocation(string fname); 52 Delegate LookupScriptInvocation(string fname);