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/Modules/Avatar/Dialog | |
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/Modules/Avatar/Dialog')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs index 014c536..8fbe77f 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs | |||
@@ -101,6 +101,16 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog | |||
101 | } | 101 | } |
102 | } | 102 | } |
103 | 103 | ||
104 | public void SendDialogToUser( | ||
105 | UUID avatarID, string objectName, UUID objectID, UUID ownerID, | ||
106 | string message, UUID textureID, int ch, string[] buttonlabels) | ||
107 | { | ||
108 | ScenePresence sp = m_scene.GetScenePresence(avatarID); | ||
109 | |||
110 | if (sp != null) | ||
111 | sp.ControllingClient.SendDialog(objectName, objectID, ownerID, message, textureID, ch, buttonlabels); | ||
112 | } | ||
113 | |||
104 | public void SendNotificationToUsersInEstate( | 114 | public void SendNotificationToUsersInEstate( |
105 | UUID fromAvatarID, string fromAvatarName, string message) | 115 | UUID fromAvatarID, string fromAvatarName, string message) |
106 | { | 116 | { |