From 134f86e8d5c414409631b25b8c6f0ee45fbd8631 Mon Sep 17 00:00:00 2001
From: David Walter Seikel
Date: Thu, 3 Nov 2016 21:44:39 +1000
Subject: Initial update to OpenSim 0.8.2.1 source code.
---
.../ScriptEngine/Interfaces/IScriptEngine.cs | 45 +++++++++++++++++++---
1 file changed, 40 insertions(+), 5 deletions(-)
(limited to 'OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs')
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
index 17c2708..6355669 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
@@ -25,16 +25,17 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-using log4net;
using System;
-using OpenSim.Region.ScriptEngine.Shared;
+using System.Reflection;
+using OpenSim.Framework;
using OpenSim.Region.Framework.Scenes;
using OpenSim.Region.Framework.Interfaces;
-using OpenMetaverse;
-using Nini.Config;
using OpenSim.Region.ScriptEngine.Interfaces;
+using OpenSim.Region.ScriptEngine.Shared;
using Amib.Threading;
-using OpenSim.Framework;
+using log4net;
+using Nini.Config;
+using OpenMetaverse;
namespace OpenSim.Region.ScriptEngine.Interfaces
{
@@ -76,6 +77,40 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
IConfigSource ConfigSource { get; }
string ScriptEngineName { get; }
string ScriptEnginePath { get; }
+
+ ///
+ /// Return the name of the class that will be used for all running scripts.
+ ///
+ ///
+ /// Each class goes in its own assembly so we don't need to otherwise distinguish the class name.
+ ///
+ string ScriptClassName { get; }
+
+ ///
+ /// Return the name of the base class that will be used for all running scripts.
+ ///
+ string ScriptBaseClassName { get; }
+
+ ///
+ /// Assemblies that need to be referenced when compiling scripts.
+ ///
+ ///
+ /// These are currently additional to those always referenced by the compiler, BUT THIS MAY CHANGE IN THE
+ /// FUTURE.
+ /// This can be null if there are no additional assemblies.
+ ///
+ string[] ScriptReferencedAssemblies { get; }
+
+ ///
+ /// Parameters for the generated script's constructor.
+ ///
+ ///
+ /// Can be null if there are no parameters
+ ///
+ ParameterInfo[] ScriptBaseClassParameters { get; }
+
IScriptApi GetApi(UUID itemID, string name);
+
+ void SleepScript(UUID itemID, int delay);
}
}
--
cgit v1.1