From 33d5018e94e52cb875bf43bced623bdc6aa41ef0 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 22 Dec 2009 15:35:39 +0000 Subject: Remove an insterface member that was never used --- OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs | 1 - OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 15 --------------- 2 files changed, 16 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs index 02d1511..25ec92d 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs @@ -76,7 +76,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces void SetScriptState(UUID itemID, bool state); bool GetScriptState(UUID itemID); - void SetState(UUID itemID, string newState); void ApiResetScript(UUID itemID); void ResetScript(UUID itemID); IConfig Config { get; } diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 11b02e1..4512e98 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1182,21 +1182,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine return UUID.Zero; } - public void SetState(UUID itemID, string newState) - { - IScriptInstance instance = GetInstance(itemID); - if (instance == null) - return; - instance.SetState(newState); - } - public string GetState(UUID itemID) - { - IScriptInstance instance = GetInstance(itemID); - if (instance == null) - return "default"; - return instance.State; - } - public int GetStartParameter(UUID itemID) { IScriptInstance instance = GetInstance(itemID); -- cgit v1.1