diff options
author | Justin Clarke Casey | 2009-01-08 19:14:52 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-08 19:14:52 +0000 |
commit | e7bb27b5bd9ae459096f1c2282a558ee872bc0c5 (patch) | |
tree | 03604341d11fee0f8085f38d7c39795a17e2b245 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * refactor: move estate dialog to DialogModule (diff) | |
download | opensim-SC-e7bb27b5bd9ae459096f1c2282a558ee872bc0c5.zip opensim-SC-e7bb27b5bd9ae459096f1c2282a558ee872bc0c5.tar.gz opensim-SC-e7bb27b5bd9ae459096f1c2282a558ee872bc0c5.tar.bz2 opensim-SC-e7bb27b5bd9ae459096f1c2282a558ee872bc0c5.tar.xz |
* refactor: move code to send a dialog to a user from scene to DialogModule
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 134946b..e73d4d2 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -3377,18 +3377,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
3377 | } | 3377 | } |
3378 | } | 3378 | } |
3379 | 3379 | ||
3380 | public void SendDialogToUser(UUID avatarID, string objectName, UUID objectID, UUID ownerID, string message, UUID TextureID, int ch, string[] buttonlabels) | ||
3381 | { | ||
3382 | lock (m_scenePresences) | ||
3383 | { | ||
3384 | if (m_scenePresences.ContainsKey(avatarID)) | ||
3385 | { | ||
3386 | m_scenePresences[avatarID].ControllingClient.SendDialog( | ||
3387 | objectName, objectID, ownerID, message, TextureID, ch, buttonlabels); | ||
3388 | } | ||
3389 | } | ||
3390 | } | ||
3391 | |||
3392 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) | 3380 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) |
3393 | { | 3381 | { |
3394 | m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms); | 3382 | m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms); |