mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Change the IScriptApi back to it's original form, removing XEngine
specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
This commit is contained in:
@@ -46,6 +46,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
/// <param name='item'>/param>
|
||||
/// <param name='coopSleepHandle'>/param>
|
||||
void Initialize(
|
||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle);
|
||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,5 +110,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
ParameterInfo[] ScriptBaseClassParameters { get; }
|
||||
|
||||
IScriptApi GetApi(UUID itemID, string name);
|
||||
|
||||
void SleepScript(UUID itemID, int delay);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using OpenMetaverse;
|
||||
using log4net;
|
||||
using OpenSim.Framework;
|
||||
@@ -163,6 +164,9 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
void ClearQueue();
|
||||
int StartParam { get; set; }
|
||||
|
||||
WaitHandle CoopWaitHandle { get; }
|
||||
Stopwatch ExecutionTimer { get; }
|
||||
|
||||
void RemoveState();
|
||||
|
||||
void Init();
|
||||
|
||||
Reference in New Issue
Block a user