* refactor: move code to send a dialog to a user from scene to DialogModule

This commit is contained in:
Justin Clarke Casey
2009-01-08 19:14:52 +00:00
parent 9a97a6866f
commit e7bb27b5bd
4 changed files with 35 additions and 13 deletions

View File

@@ -101,6 +101,16 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog
}
}
public void SendDialogToUser(
UUID avatarID, string objectName, UUID objectID, UUID ownerID,
string message, UUID textureID, int ch, string[] buttonlabels)
{
ScenePresence sp = m_scene.GetScenePresence(avatarID);
if (sp != null)
sp.ControllingClient.SendDialog(objectName, objectID, ownerID, message, textureID, ch, buttonlabels);
}
public void SendNotificationToUsersInEstate(
UUID fromAvatarID, string fromAvatarName, string message)
{