Some script engine interface changes

0.6.0-stable
Melanie Thielker 2008-09-25 20:04:59 +00:00
parent c58473456a
commit c713dcbada
3 changed files with 27 additions and 6 deletions

View File

@ -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)
{
}
}
}

View File

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

View File

@ -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);
/// <summary>
/// Queue an event for execution
/// </summary>