Remove an insterface member that was never used
parent
1876ce90af
commit
33d5018e94
|
@ -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; }
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue