mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Add the missing bits for the new region-search:
- Added lookup in the data-layer - MySQL works - SQLite doesn't have a grid-db, so it won't work there - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-) - Added the plumbing up to OGS1GridServices. This speaks with the grid-server via XMLRPC. - Modified MapSearchModule to use the new data. It's backward compatible; if used with an old grid-server, it just returns one found region instead of a list. - Refactored a bit. Note: This updates data, grid-server and region code. No new files.
This commit is contained in:
@@ -70,5 +70,20 @@ namespace OpenSim.Framework.Communications
|
||||
List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY);
|
||||
// not complete yet, only contains the fields needed for ParcelInfoReqeust
|
||||
LandData RequestLandData(ulong regionHandle, uint x, uint y);
|
||||
|
||||
/// <summary>
|
||||
/// Get information about regions starting with the provided name.
|
||||
/// </summary>
|
||||
/// <param name="name">
|
||||
/// The name to match against.
|
||||
/// </param>
|
||||
/// <param name="maxNumber">
|
||||
/// The maximum number of results to return.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A list of <see cref="RegionInfo"/>s of regions with matching name. If the
|
||||
/// grid-server couldn't be contacted or returned an error, return null.
|
||||
/// </returns>
|
||||
List<RegionInfo> RequestNamedRegions(string name, int maxNumber);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user