diff options
author | Diva Canto | 2009-09-24 13:33:58 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-24 13:33:58 -0700 |
commit | dd3d52ae1faefbca85e2fe8d8cea67f7db4005ac (patch) | |
tree | 659b977f1ab6b7fd5def36fe8c967953dc1edeb5 /OpenSim/Services/Interfaces | |
parent | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-dd3d52ae1faefbca85e2fe8d8cea67f7db4005ac.zip opensim-SC_OLD-dd3d52ae1faefbca85e2fe8d8cea67f7db4005ac.tar.gz opensim-SC_OLD-dd3d52ae1faefbca85e2fe8d8cea67f7db4005ac.tar.bz2 opensim-SC_OLD-dd3d52ae1faefbca85e2fe8d8cea67f7db4005ac.tar.xz |
Added test GridClient, which allowed me to remove a few bugs out of the new code.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index a188f7e..d12276f 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -277,6 +277,15 @@ namespace OpenSim.Services.Interfaces | |||
277 | 277 | ||
278 | public GridRegion(Dictionary<string, object> kvp) | 278 | public GridRegion(Dictionary<string, object> kvp) |
279 | { | 279 | { |
280 | if (kvp["uuid"] != null) | ||
281 | RegionID = new UUID((string)kvp["uuid"]); | ||
282 | |||
283 | if (kvp["locX"] != null) | ||
284 | RegionLocX = Convert.ToInt32((string)kvp["locX"]); | ||
285 | |||
286 | if (kvp["locY"] != null) | ||
287 | RegionLocY = Convert.ToInt32((string)kvp["locY"]); | ||
288 | |||
280 | if ((kvp["external_ip_address"] != null) && (kvp["external_port"] != null)) | 289 | if ((kvp["external_ip_address"] != null) && (kvp["external_port"] != null)) |
281 | { | 290 | { |
282 | int port = 0; | 291 | int port = 0; |