Another small tweak to image sending.

Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
This commit is contained in:
MW
2007-08-27 10:34:28 +00:00
parent 67d2571301
commit 4c3be4e91f
5 changed files with 20 additions and 5 deletions

View File

@@ -1099,6 +1099,14 @@ namespace OpenSim.Region.Environment.Scenes
#endregion
public void SendUrlToUser(LLUUID avatarID, string objectname, LLUUID objectID, LLUUID ownerID, bool groupOwned, string message, string url)
{
if (Avatars.ContainsKey(avatarID))
{
Avatars[avatarID].ControllingClient.SendLoadURL(objectname, objectID, ownerID, groupOwned, message, url);
}
}
#region Alert Methods
void SendPermissionAlert(LLUUID user, string reason)
@@ -1106,6 +1114,7 @@ namespace OpenSim.Region.Environment.Scenes
SendAlertToUser(user, reason, false);
}
public void SendGeneralAlert(string message)
{
foreach (ScenePresence presence in this.Avatars.Values)

View File

@@ -7,7 +7,7 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
{
public interface IScriptHost
{
string Name { get; }
string Name { get; set;}
LLUUID UUID { get; }
LLVector3 AbsolutePosition { get; }
void SetText(string text, Axiom.Math.Vector3 color, double alpha);

View File

@@ -12,6 +12,7 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
public string Name
{
get { return "Object"; }
set { }
}
public LLUUID UUID