mirror of
https://github.com/opensim/opensim.git
synced 2026-06-11 06:35:48 +08:00
Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
engines that want to use the XEngine's instance handling and state persistence can do so. IScriptInstance is optional, but it does require the SmartThreadPool if it is used.
This commit is contained in:
@@ -32,6 +32,7 @@ using OpenSim.Region.Environment.Scenes;
|
||||
using libsecondlife;
|
||||
using Nini.Config;
|
||||
using OpenSim.Region.ScriptEngine.Interfaces;
|
||||
using Amib.Threading;
|
||||
|
||||
namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
{
|
||||
@@ -47,6 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
Object AsyncCommands { get; }
|
||||
ILog Log { get; }
|
||||
string ScriptEngineName { get; }
|
||||
int MaxScriptQueue { get; }
|
||||
|
||||
bool PostScriptEvent(LLUUID itemID, EventParams parms);
|
||||
bool PostObjectEvent(uint localID, EventParams parms);
|
||||
@@ -56,6 +58,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
bool GetScriptState(LLUUID itemID);
|
||||
void SetState(LLUUID itemID, string newState);
|
||||
int GetStartParameter(LLUUID itemID);
|
||||
IWorkItemResult QueueEventHandler(object parms);
|
||||
|
||||
DetectParams GetDetectParams(LLUUID item, int number);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user