From a84456c2391e9fa7c5ade8244bf979118a3d0e29 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Thu, 29 May 2008 13:55:02 +0000 Subject: Mantis#1411. Thank you kindly for Dataserver.cs and a patch that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event --- OpenSim/Region/Environment/Scenes/Scene.cs | 5 +++++ OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 1be0617..2b667c9 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2912,6 +2912,11 @@ namespace OpenSim.Region.Environment.Scenes } } + public RegionInfo RequestClosestRegion(string name) + { + return m_sceneGridService.RequestClosestRegion(name); + } + #endregion #region Script Engine diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 885d1e9..d2d75e8 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -112,6 +112,11 @@ namespace OpenSim.Region.Environment.Scenes } } + public RegionInfo RequestClosestRegion(string name) + { + return m_commsProvider.GridService.RequestClosestRegion(name); + } + public void Close() { if (regionCommsHost != null) -- cgit v1.1