29 using System.Reflection;
30 using System.Collections.Generic;
33 namespace OpenSim.
Region.Framework.Interfaces
35 public delegate
void ScriptCommand(UUID script,
string id,
string module,
string command,
string k);
55 void RegisterScriptInvocation(
object target,
string method);
62 void RegisterScriptInvocation(
object target, MethodInfo method);
69 void RegisterScriptInvocation(
object target,
string[] methods);
76 void RegisterScriptInvocation(Type target,
string[] methods);
90 Delegate[] GetScriptInvocationList();
92 Delegate LookupScriptInvocation(
string fname);
93 string LookupModInvocation(
string fname);
94 Type[] LookupTypeSignature(
string fname);
95 Type LookupReturnType(
string fname);
97 object InvokeOperation(UUID hostId, UUID scriptId,
string fname, params
object[] parms);
106 void DispatchReply(UUID scriptId,
int code,
string text,
string key);
120 void RegisterConstant(
string cname,
object value);
134 object LookupModConstant(
string cname);
135 Dictionary<string, object> GetConstants();
138 void RaiseEvent(UUID script,
string id,
string module,
string command,
string key);
141 [AttributeUsage(AttributeTargets.Method)]
145 [AttributeUsage(AttributeTargets.Field)]
delegate void ScriptCommand(UUID script, string id, string module, string command, string k)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString key
Interface for communication between OpenSim modules and in-world scripts
ScriptCommand OnScriptCommand
Modules can subscribe to this event to receive command invocations from in-world scripts ...