wt* remove osSetStateEvents, any script using it must just DIE

This commit is contained in:
UbitUmarov
2020-08-31 15:01:26 +01:00
parent 0abb08c6ef
commit b64e1792ff
3 changed files with 0 additions and 18 deletions

View File

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

View File

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

View File

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