From c713dcbada9be037cf3da71444e79895dc5d9011 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 25 Sep 2008 20:04:59 +0000 Subject: Some script engine interface changes --- .../Common/ScriptEngineBase/ScriptEngine.cs | 21 +++++++++++++++++++++ .../ScriptEngine/Interfaces/IEventReceiver.cs | 6 ++++++ .../Region/ScriptEngine/Interfaces/IScriptEngine.cs | 6 ------ 3 files changed, 27 insertions(+), 6 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs index 2bcd949..18925e0 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs @@ -226,5 +226,26 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase return 0; } #endregion + + public void SetState(UUID itemID, string state) + { + } + + public bool GetScriptState(UUID itemID) + { + return true; + } + + public void SetScriptState(UUID itemID, bool state) + { + } + + public void ApiResetScript(UUID itemID) + { + } + + public void ResetScript(UUID itemID) + { + } } } diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs b/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs index 4be6a77..7fad02c 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs @@ -57,5 +57,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces DetectParams GetDetectParams(UUID item, int number); int GetStartParameter(UUID itemID); + + void SetScriptState(UUID itemID, bool state); + bool GetScriptState(UUID itemID); + void SetState(UUID itemID, string newState); + void ApiResetScript(UUID itemID); + void ResetScript(UUID itemID); } } diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs index 389af00..7af346d 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs @@ -46,12 +46,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces ILog Log { get; } string ScriptEngineName { get; } - void ApiResetScript(UUID itemID); - void ResetScript(UUID itemID); - void SetScriptState(UUID itemID, bool state); - bool GetScriptState(UUID itemID); - void SetState(UUID itemID, string newState); - /// /// Queue an event for execution /// -- cgit v1.1