mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
HG LinkRegion sends region size also
This commit is contained in:
@@ -70,13 +70,17 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
||||
string imageURL = string.Empty;
|
||||
ulong regionHandle = 0;
|
||||
string reason = string.Empty;
|
||||
int sizeX = 256;
|
||||
int sizeY = 256;
|
||||
|
||||
bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason);
|
||||
bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason, out sizeX, out sizeY);
|
||||
|
||||
Hashtable hash = new Hashtable();
|
||||
hash["result"] = success.ToString();
|
||||
hash["uuid"] = regionID.ToString();
|
||||
hash["handle"] = regionHandle.ToString();
|
||||
hash["size_x"] = sizeX;
|
||||
hash["size_y"] = sizeY;
|
||||
hash["region_image"] = imageURL;
|
||||
hash["external_name"] = externalName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user