aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2012-03-25 19:52:38 +0100
committerMelanie2012-03-25 19:52:38 +0100
commitcb44808504e48125d630823880ee8e710afcd9ea (patch)
tree449a991ba060770b230244332015d0b6c7b41cef /OpenSim/Region/Framework
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-cb44808504e48125d630823880ee8e710afcd9ea.zip
opensim-SC-cb44808504e48125d630823880ee8e710afcd9ea.tar.gz
opensim-SC-cb44808504e48125d630823880ee8e710afcd9ea.tar.bz2
opensim-SC-cb44808504e48125d630823880ee8e710afcd9ea.tar.xz
Simplify the module invocation registration. The types and method name
can be pulled fromt he delegate so we don't need to pass them explicitly
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 bb4c788..8bfbbf8 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
@@ -46,7 +46,8 @@ 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(ScriptInvocation fn);
50 ScriptInvocation[] GetScriptInvocationList();
50 51
51 ScriptInvocation LookupScriptInvocation(string fname); 52 ScriptInvocation LookupScriptInvocation(string fname);
52 string LookupModInvocation(string fname); 53 string LookupModInvocation(string fname);