From e7362738155c0a0a5c9ef8b867eb14b18bb31a44 Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Fri, 18 Sep 2009 19:16:30 -0700
Subject: First pass at the grid service.
---
OpenSim/Services/Interfaces/IGridService.cs | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
(limited to 'OpenSim/Services/Interfaces')
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index ac4539a..83ab9c1 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -39,7 +39,7 @@ namespace OpenSim.Services.Interfaces
///
///
/// Thrown if region registration failed
- bool RegisterRegion(UUID scopeID, RegionInfo regionInfos);
+ bool RegisterRegion(UUID scopeID, SimpleRegionInfo regionInfos);
///
/// Deregister a region with the grid service.
@@ -50,15 +50,22 @@ namespace OpenSim.Services.Interfaces
bool DeregisterRegion(UUID regionID);
///
- /// Get information about the regions neighbouring the given co-ordinates.
+ /// Get information about the regions neighbouring the given co-ordinates (in meters).
///
///
///
///
- List GetNeighbours(UUID scopeID, uint x, uint y);
+ List GetNeighbours(UUID scopeID, int x, int y);
SimpleRegionInfo GetRegionByUUID(UUID scopeID, UUID regionID);
+ ///
+ /// Get the region at the given position (in meters)
+ ///
+ ///
+ ///
+ ///
+ ///
SimpleRegionInfo GetRegionByPosition(UUID scopeID, int x, int y);
SimpleRegionInfo GetRegionByName(UUID scopeID, string regionName);
@@ -78,9 +85,7 @@ namespace OpenSim.Services.Interfaces
///
List GetRegionsByName(UUID scopeID, string name, int maxNumber);
-
- // Not sure about these two (diva)
-
+ List GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax);
}
}
--
cgit v1.1