Added test GridClient, which allowed me to remove a few bugs out of the new code.

This commit is contained in:
Diva Canto
2009-09-24 13:33:58 -07:00
parent ad753d784c
commit dd3d52ae1f
8 changed files with 161 additions and 12 deletions

View File

@@ -277,6 +277,15 @@ namespace OpenSim.Services.Interfaces
public GridRegion(Dictionary<string, object> kvp)
{
if (kvp["uuid"] != null)
RegionID = new UUID((string)kvp["uuid"]);
if (kvp["locX"] != null)
RegionLocX = Convert.ToInt32((string)kvp["locX"]);
if (kvp["locY"] != null)
RegionLocY = Convert.ToInt32((string)kvp["locY"]);
if ((kvp["external_ip_address"] != null) && (kvp["external_port"] != null))
{
int port = 0;