diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs b/OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs index c7ac9be..6bd24db 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.ToString(); | ||
83 | hash["size_y"] = sizeY.ToString(); | ||
80 | hash["region_image"] = imageURL; | 84 | hash["region_image"] = imageURL; |
81 | hash["external_name"] = externalName; | 85 | hash["external_name"] = externalName; |
82 | 86 | ||
@@ -121,6 +125,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
121 | hash["hostname"] = regInfo.ExternalHostName; | 125 | hash["hostname"] = regInfo.ExternalHostName; |
122 | hash["http_port"] = regInfo.HttpPort.ToString(); | 126 | hash["http_port"] = regInfo.HttpPort.ToString(); |
123 | hash["internal_port"] = regInfo.InternalEndPoint.Port.ToString(); | 127 | hash["internal_port"] = regInfo.InternalEndPoint.Port.ToString(); |
128 | hash["server_uri"] = regInfo.ServerURI; | ||
124 | } | 129 | } |
125 | 130 | ||
126 | if (message != null) | 131 | if (message != null) |