Dynamically create the delegate type to reduce complexity in the caller

This commit is contained in:
Melanie
2012-03-26 01:21:44 +01:00
parent d7cc194e83
commit ac0f1ff0a6
2 changed files with 23 additions and 2 deletions

View File

@@ -26,6 +26,7 @@
*/
using System;
using System.Reflection;
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
@@ -45,7 +46,7 @@ namespace OpenSim.Region.Framework.Interfaces
/// </summary>
event ScriptCommand OnScriptCommand;
void RegisterScriptInvocation(Delegate fn);
void RegisterScriptInvocation(object target, MethodInfo mi);
Delegate[] GetScriptInvocationList();
Delegate LookupScriptInvocation(string fname);