diff options
author | UbitUmarov | 2016-11-20 03:51:38 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-20 03:51:38 +0000 |
commit | e2b580e56906f76e74abfdac5a11a1c1bbc31252 (patch) | |
tree | 86669bfd90c86f9637acaca45084fd4804f0caf7 /OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs | |
parent | HG UserAgent, return serverURI (diff) | |
download | opensim-SC-e2b580e56906f76e74abfdac5a11a1c1bbc31252.zip opensim-SC-e2b580e56906f76e74abfdac5a11a1c1bbc31252.tar.gz opensim-SC-e2b580e56906f76e74abfdac5a11a1c1bbc31252.tar.bz2 opensim-SC-e2b580e56906f76e74abfdac5a11a1c1bbc31252.tar.xz |
HG LinkRegion sends region size also
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs b/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs index c7ac9be..cb15138 100644 --- a/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs +++ b/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs | |||
@@ -70,13 +70,17 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
70 | string imageURL = string.Empty; | 70 | string imageURL = string.Empty; |
71 | ulong regionHandle = 0; | 71 | ulong regionHandle = 0; |
72 | string reason = string.Empty; | 72 | string reason = string.Empty; |
73 | int sizeX = 256; | ||
74 | int sizeY = 256; | ||
73 | 75 | ||
74 | bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason); | 76 | bool success = m_GatekeeperService.LinkRegion(name, out regionID, out regionHandle, out externalName, out imageURL, out reason, out sizeX, out sizeY); |
75 | 77 | ||
76 | Hashtable hash = new Hashtable(); | 78 | Hashtable hash = new Hashtable(); |
77 | hash["result"] = success.ToString(); | 79 | hash["result"] = success.ToString(); |
78 | hash["uuid"] = regionID.ToString(); | 80 | hash["uuid"] = regionID.ToString(); |
79 | hash["handle"] = regionHandle.ToString(); | 81 | hash["handle"] = regionHandle.ToString(); |
82 | hash["size_x"] = sizeX; | ||
83 | hash["size_y"] = sizeY; | ||
80 | hash["region_image"] = imageURL; | 84 | hash["region_image"] = imageURL; |
81 | hash["external_name"] = externalName; | 85 | hash["external_name"] = externalName; |
82 | 86 | ||