mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Another small tweak to image sending.
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
|
||||
public string Name
|
||||
{
|
||||
get { return "Object"; }
|
||||
set { }
|
||||
}
|
||||
|
||||
public LLUUID UUID
|
||||
|
||||
Reference in New Issue
Block a user