Thank you kindly, Ldviopeng for:

Patch to implement the following LSL / OS functions
llParcelPrimCount(60%)
osSetParcelMediaURL
This commit is contained in:
Charles Krinke
2008-03-08 18:06:10 +00:00
parent e41b45d107
commit 3151e302ca
5 changed files with 151 additions and 6 deletions

View File

@@ -2414,6 +2414,22 @@ namespace OpenSim.Region.Environment.Scenes
}
}
public void SetLandMediaURL(float x, float y, string url)
{
Land land = LandManager.getLandObject(x, y);
if (land == null)
{
return;
}
else
{
land.landData.mediaURL = url;
return;
}
}
#endregion
#region Script Engine

View File

@@ -34,13 +34,15 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
public interface IScriptHost
{
string Name { get; set; }
string SitName { get; set; }
string TouchName { get; set; }
string Description { get; set; }
LLUUID UUID { get; }
LLUUID ObjectOwner { get; }
LLUUID ObjectCreator { get; }
LLVector3 AbsolutePosition { get; }
string SitName { get; set; }
string TouchName { get; set; }
void SetText(string text, Vector3 color, double alpha);
}
}
}