diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index dcc3e16..49ba655 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1099,6 +1099,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1099 | 1099 | ||
1100 | #endregion | 1100 | #endregion |
1101 | 1101 | ||
1102 | public void SendUrlToUser(LLUUID avatarID, string objectname, LLUUID objectID, LLUUID ownerID, bool groupOwned, string message, string url) | ||
1103 | { | ||
1104 | if (Avatars.ContainsKey(avatarID)) | ||
1105 | { | ||
1106 | Avatars[avatarID].ControllingClient.SendLoadURL(objectname, objectID, ownerID, groupOwned, message, url); | ||
1107 | } | ||
1108 | } | ||
1109 | |||
1102 | #region Alert Methods | 1110 | #region Alert Methods |
1103 | 1111 | ||
1104 | void SendPermissionAlert(LLUUID user, string reason) | 1112 | void SendPermissionAlert(LLUUID user, string reason) |
@@ -1106,6 +1114,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1106 | SendAlertToUser(user, reason, false); | 1114 | SendAlertToUser(user, reason, false); |
1107 | } | 1115 | } |
1108 | 1116 | ||
1117 | |||
1109 | public void SendGeneralAlert(string message) | 1118 | public void SendGeneralAlert(string message) |
1110 | { | 1119 | { |
1111 | foreach (ScenePresence presence in this.Avatars.Values) | 1120 | foreach (ScenePresence presence in this.Avatars.Values) |