* refactor: move estate dialog to DialogModule

* This appeared only to be implemented for the region, and doesn't currently seem to work anyway
This commit is contained in:
Justin Clarke Casey
2009-01-08 19:05:22 +00:00
parent 17f783457b
commit 9a97a6866f
3 changed files with 31 additions and 5 deletions

View File

@@ -352,7 +352,8 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
}
}
private void SendSimulatorBlueBoxMessage(IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
private void SendSimulatorBlueBoxMessage(
IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
{
IDialogModule dm = m_scene.RequestModuleInterface<IDialogModule>();
@@ -360,9 +361,13 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
dm.SendNotificationToUsersInRegion(senderID, senderName, message);
}
private void SendEstateBlueBoxMessage(IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
private void SendEstateBlueBoxMessage(
IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message)
{
m_scene.SendEstateMessageFromEstateTools(senderID, sessionID, senderName, message);
IDialogModule dm = m_scene.RequestModuleInterface<IDialogModule>();
if (dm != null)
dm.SendNotificationToUsersInEstate(senderID, senderName, message);
}
private void handleEstateDebugRegionRequest(IClientAPI remote_client, UUID invoice, UUID senderID, bool scripted, bool collisionEvents, bool physics)