diff options
author | Melanie | 2012-03-26 01:21:44 +0100 |
---|---|---|
committer | Melanie | 2012-03-26 01:47:20 +0100 |
commit | ac0f1ff0a66e361e7ca24ce4660bf58c5662283c (patch) | |
tree | 502451bbbfe16960880e31836f5da6517df26c35 /OpenSim/Region/Framework | |
parent | Correct the design error I introduced into ScriptComms. Untested but about to (diff) | |
download | opensim-SC-ac0f1ff0a66e361e7ca24ce4660bf58c5662283c.zip opensim-SC-ac0f1ff0a66e361e7ca24ce4660bf58c5662283c.tar.gz opensim-SC-ac0f1ff0a66e361e7ca24ce4660bf58c5662283c.tar.bz2 opensim-SC-ac0f1ff0a66e361e7ca24ce4660bf58c5662283c.tar.xz |
Dynamically create the delegate type to reduce complexity in the caller
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | 3 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | ||
29 | using OpenMetaverse; | 30 | using OpenMetaverse; |
30 | 31 | ||
31 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace 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); |