diff options
author | Melanie | 2012-03-26 00:30:52 +0100 |
---|---|---|
committer | Melanie | 2012-03-26 01:47:14 +0100 |
commit | d7cc194e83ade3453649ab897a4f40b0fa856d0d (patch) | |
tree | 89a0fce4043d3a89cafb53d4b25a8f4474b028ac /OpenSim/Region/Framework/Interfaces | |
parent | Simplify the module invocation registration. The types and method name (diff) | |
download | opensim-SC-d7cc194e83ade3453649ab897a4f40b0fa856d0d.zip opensim-SC-d7cc194e83ade3453649ab897a4f40b0fa856d0d.tar.gz opensim-SC-d7cc194e83ade3453649ab897a4f40b0fa856d0d.tar.bz2 opensim-SC-d7cc194e83ade3453649ab897a4f40b0fa856d0d.tar.xz |
Correct the design error I introduced into ScriptComms. Untested but about to
be.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs index 8bfbbf8..8a08fbe 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | |||
@@ -31,7 +31,6 @@ using OpenMetaverse; | |||
31 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
32 | { | 32 | { |
33 | public delegate void ScriptCommand(UUID script, string id, string module, string command, string k); | 33 | public delegate void ScriptCommand(UUID script, string id, string module, string command, string k); |
34 | public delegate object ScriptInvocation(UUID script, object[] parms); | ||
35 | 34 | ||
36 | /// <summary> | 35 | /// <summary> |
37 | /// Interface for communication between OpenSim modules and in-world scripts | 36 | /// Interface for communication between OpenSim modules and in-world scripts |
@@ -46,10 +45,10 @@ namespace OpenSim.Region.Framework.Interfaces | |||
46 | /// </summary> | 45 | /// </summary> |
47 | event ScriptCommand OnScriptCommand; | 46 | event ScriptCommand OnScriptCommand; |
48 | 47 | ||
49 | void RegisterScriptInvocation(ScriptInvocation fn); | 48 | void RegisterScriptInvocation(Delegate fn); |
50 | ScriptInvocation[] GetScriptInvocationList(); | 49 | Delegate[] GetScriptInvocationList(); |
51 | 50 | ||
52 | ScriptInvocation LookupScriptInvocation(string fname); | 51 | Delegate LookupScriptInvocation(string fname); |
53 | string LookupModInvocation(string fname); | 52 | string LookupModInvocation(string fname); |
54 | Type[] LookupTypeSignature(string fname); | 53 | Type[] LookupTypeSignature(string fname); |
55 | Type LookupReturnType(string fname); | 54 | Type LookupReturnType(string fname); |