aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSignpostMarv2012-08-31 12:50:32 +0100
committerMelanie2012-08-31 14:32:31 +0100
commit973f2e8be540163e12dd8d85fffad3acd96fe212 (patch)
treef7d6f9a9ed71882be0af3bc920ce62eab2b3b33a /OpenSim
parentReplace SendBannedUserList with Avination's version. Untested in core. Not ev... (diff)
downloadopensim-SC_OLD-973f2e8be540163e12dd8d85fffad3acd96fe212.zip
opensim-SC_OLD-973f2e8be540163e12dd8d85fffad3acd96fe212.tar.gz
opensim-SC_OLD-973f2e8be540163e12dd8d85fffad3acd96fe212.tar.bz2
opensim-SC_OLD-973f2e8be540163e12dd8d85fffad3acd96fe212.tar.xz
adding documentation to script invokation methods
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
index ed71a95..ff8213c 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
@@ -46,9 +46,31 @@ namespace OpenSim.Region.Framework.Interfaces
46 /// </summary> 46 /// </summary>
47 event ScriptCommand OnScriptCommand; 47 event ScriptCommand OnScriptCommand;
48 48
49 /// <summary>
50 /// Register an instance method as a script call by method name
51 /// </summary>
52 /// <param name="target"></param>
53 /// <param name="method"></param>
49 void RegisterScriptInvocation(object target, string method); 54 void RegisterScriptInvocation(object target, string method);
55
56 /// <summary>
57 /// Register an instance method as a script call by method info
58 /// </summary>
59 /// <param name="target"></param>
60 /// <param name="method"></param>
50 void RegisterScriptInvocation(object target, MethodInfo method); 61 void RegisterScriptInvocation(object target, MethodInfo method);
62
63 /// <summary>
64 /// Register one or more instance methods as script calls by method name
65 /// </summary>
66 /// <param name="target"></param>
67 /// <param name="methods"></param>
51 void RegisterScriptInvocation(object target, string[] methods); 68 void RegisterScriptInvocation(object target, string[] methods);
69
70 /// <summary>
71 /// Returns an array of all registered script calls
72 /// </summary>
73 /// <returns></returns>
52 Delegate[] GetScriptInvocationList(); 74 Delegate[] GetScriptInvocationList();
53 75
54 Delegate LookupScriptInvocation(string fname); 76 Delegate LookupScriptInvocation(string fname);