diff options
author | Justin Clark-Casey (justincc) | 2012-03-27 02:10:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-27 02:10:02 +0100 |
commit | 09c85a6a6c3f40688c16e646342de773f8891c56 (patch) | |
tree | 7261bf18a1ab1368c5759ba859a13782e47957e0 /OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | |
parent | In TerrainModule.cs, the command terrain save-tile is modified to remove an u... (diff) | |
parent | BulletSim: make avatar animations update properly. (diff) | |
download | opensim-SC-09c85a6a6c3f40688c16e646342de773f8891c56.zip opensim-SC-09c85a6a6c3f40688c16e646342de773f8891c56.tar.gz opensim-SC-09c85a6a6c3f40688c16e646342de773f8891c56.tar.bz2 opensim-SC-09c85a6a6c3f40688c16e646342de773f8891c56.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs index bb4c788..bfe1e8d 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | |||
@@ -26,12 +26,12 @@ | |||
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 |
32 | { | 33 | { |
33 | public delegate void ScriptCommand(UUID script, string id, string module, string command, string k); | 34 | public delegate void ScriptCommand(UUID script, string id, string module, string command, string k); |
34 | public delegate object ScriptInvocation(UUID script, object[] parms); | ||
35 | 35 | ||
36 | /// <summary> | 36 | /// <summary> |
37 | /// Interface for communication between OpenSim modules and in-world scripts | 37 | /// Interface for communication between OpenSim modules and in-world scripts |
@@ -46,14 +46,17 @@ namespace OpenSim.Region.Framework.Interfaces | |||
46 | /// </summary> | 46 | /// </summary> |
47 | event ScriptCommand OnScriptCommand; | 47 | event ScriptCommand OnScriptCommand; |
48 | 48 | ||
49 | void RegisterScriptInvocation(string name, ScriptInvocation fn, Type[] csig, Type rsig); | 49 | void RegisterScriptInvocation(object target, string method); |
50 | void RegisterScriptInvocation(object target, MethodInfo method); | ||
51 | void RegisterScriptInvocation(object target, string[] methods); | ||
52 | Delegate[] GetScriptInvocationList(); | ||
50 | 53 | ||
51 | ScriptInvocation LookupScriptInvocation(string fname); | 54 | Delegate LookupScriptInvocation(string fname); |
52 | string LookupModInvocation(string fname); | 55 | string LookupModInvocation(string fname); |
53 | Type[] LookupTypeSignature(string fname); | 56 | Type[] LookupTypeSignature(string fname); |
54 | Type LookupReturnType(string fname); | 57 | Type LookupReturnType(string fname); |
55 | 58 | ||
56 | object InvokeOperation(UUID scriptId, string fname, params object[] parms); | 59 | object InvokeOperation(UUID hostId, UUID scriptId, string fname, params object[] parms); |
57 | 60 | ||
58 | /// <summary> | 61 | /// <summary> |
59 | /// Send a link_message event to an in-world script | 62 | /// Send a link_message event to an in-world script |