We now support LSL state
parent
c935b308e6
commit
9a04e0e1c4
|
@ -80,7 +80,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
string EventName = m_Script.State() + "_event_" + FunctionName;
|
string EventName = m_Script.State + "_event_" + FunctionName;
|
||||||
|
|
||||||
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
|
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
|
||||||
///#if DEBUG
|
///#if DEBUG
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
public interface IScript
|
public interface IScript
|
||||||
{
|
{
|
||||||
string State();
|
string State { get; set; }
|
||||||
Executor Exec { get; }
|
Executor Exec { get; }
|
||||||
string Source { get; set; }
|
string Source { get; set; }
|
||||||
void Start(LSL_BuiltIn_Commands_Interface BuiltIn_Commands);
|
void Start(LSL_BuiltIn_Commands_Interface BuiltIn_Commands);
|
||||||
|
|
|
@ -102,9 +102,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public string State()
|
public string State
|
||||||
{
|
{
|
||||||
return m_LSL_Functions.State();
|
get { return m_LSL_Functions.State; }
|
||||||
|
set { m_LSL_Functions.State = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -70,9 +70,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
private DateTime m_timer = DateTime.Now;
|
private DateTime m_timer = DateTime.Now;
|
||||||
private string m_state = "default";
|
private string m_state = "default";
|
||||||
|
|
||||||
public string State()
|
public string State
|
||||||
{
|
{
|
||||||
return m_state;
|
get { return m_state; }
|
||||||
|
set { m_state = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Object never expires
|
// Object never expires
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
|
|
||||||
// Interface used for loading and executing scripts
|
// Interface used for loading and executing scripts
|
||||||
|
|
||||||
string State();
|
string State { get; set; }
|
||||||
|
|
||||||
double llSin(double f);
|
double llSin(double f);
|
||||||
double llCos(double f);
|
double llCos(double f);
|
||||||
|
|
Loading…
Reference in New Issue