mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
add GetRegionByHandle methods
This commit is contained in:
@@ -273,6 +273,13 @@ namespace OpenSim.Services.Connectors
|
||||
return rinfo;
|
||||
}
|
||||
|
||||
public GridRegion GetRegionByHandle(UUID scopeID, ulong regionhandle)
|
||||
{
|
||||
//still not on protocol
|
||||
Util.RegionHandleToWorldLoc(regionhandle, out uint x, out uint y);
|
||||
return GetRegionByPosition(scopeID, (int)x, (int)y);
|
||||
}
|
||||
|
||||
public GridRegion GetRegionByPosition(UUID scopeID, int x, int y)
|
||||
{
|
||||
GridRegion rinfo = null;
|
||||
|
||||
Reference in New Issue
Block a user