Merge branch 'master' into careminster

avinationmerge
Melanie 2009-12-22 15:37:24 +00:00
commit 73491cceed
2 changed files with 0 additions and 17 deletions

View File

@ -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; }

View File

@ -1264,22 +1264,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
return UUID.Zero;
}
[DebuggerNonUserCode]
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);