Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
This commit is contained in:
Melanie Thielker
2008-09-23 11:41:34 +00:00
parent 525f66b6f1
commit 44e566260c
9 changed files with 5154 additions and 5342 deletions

View File

@@ -580,6 +580,24 @@ namespace OpenSim.Region.ScriptEngine.Common
}
}
public void osSetParcelMediaURL(string url)
{
m_host.AddScriptLPS(1);
UUID landowner = World.GetLandOwner(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y);
if (landowner == UUID.Zero)
{
return;
}
if (landowner != m_host.ObjectOwner)
{
return;
}
World.SetLandMediaURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url);
}
public string osGetScriptEngineName()
{
m_host.AddScriptLPS(1);