mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
wt* remove osSetStateEvents, any script using it must just DIE
This commit is contained in:
@@ -1485,18 +1485,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||||||
return vec;
|
return vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void osSetStateEvents(int events)
|
|
||||||
{
|
|
||||||
// This function is a hack. There is no reason for it's existence
|
|
||||||
// anymore, since state events now work properly.
|
|
||||||
// It was probably added as a crutch or debugging aid, and
|
|
||||||
// should be removed
|
|
||||||
//
|
|
||||||
CheckThreatLevel(ThreatLevel.High, "osSetStateEvents");
|
|
||||||
|
|
||||||
m_host.SetScriptEvents(m_item.ItemID, events);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void osSetRegionWaterHeight(double height)
|
public void osSetRegionWaterHeight(double height)
|
||||||
{
|
{
|
||||||
CheckThreatLevel(ThreatLevel.High, "osSetRegionWaterHeight");
|
CheckThreatLevel(ThreatLevel.High, "osSetRegionWaterHeight");
|
||||||
|
|||||||
@@ -245,7 +245,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
|||||||
string osSetPenCap(string drawList, string direction, string type);
|
string osSetPenCap(string drawList, string direction, string type);
|
||||||
string osDrawImage(string drawList, int width, int height, string imageUrl);
|
string osDrawImage(string drawList, int width, int height, string imageUrl);
|
||||||
vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize);
|
vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize);
|
||||||
void osSetStateEvents(int events);
|
|
||||||
|
|
||||||
void osSetRegionWaterHeight(double height);
|
void osSetRegionWaterHeight(double height);
|
||||||
void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
|
void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
|
||||||
|
|||||||
@@ -461,11 +461,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||||||
return m_OSSL_Functions.osGetDrawStringSize(contentType, text, fontName, fontSize);
|
return m_OSSL_Functions.osGetDrawStringSize(contentType, text, fontName, fontSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void osSetStateEvents(int events)
|
|
||||||
{
|
|
||||||
m_OSSL_Functions.osSetStateEvents(events);
|
|
||||||
}
|
|
||||||
|
|
||||||
public string osGetScriptEngineName()
|
public string osGetScriptEngineName()
|
||||||
{
|
{
|
||||||
return m_OSSL_Functions.osGetScriptEngineName();
|
return m_OSSL_Functions.osGetScriptEngineName();
|
||||||
|
|||||||
Reference in New Issue
Block a user