Exemplo n.º 1
0
        public Dictionary <string, object> ToKeyValuePairs()
        {
            Dictionary <string, object> kvp = new Dictionary <string, object>();

            kvp["uuid"]             = RegionID.ToString();
            kvp["locX"]             = RegionLocX.ToString();
            kvp["locY"]             = RegionLocY.ToString();
            kvp["regionName"]       = RegionName;
            kvp["serverIP"]         = ExternalHostName; //ExternalEndPoint.Address.ToString();
            kvp["serverHttpPort"]   = HttpPort.ToString();
            kvp["serverURI"]        = ServerURI;
            kvp["serverPort"]       = InternalEndPoint.Port.ToString();
            kvp["regionMapTexture"] = TerrainImage.ToString();
            kvp["access"]           = Access.ToString();
            kvp["regionSecret"]     = RegionSecret;
            kvp["owner_uuid"]       = EstateOwner.ToString();
            kvp["Token"]            = Token.ToString();
            // Maturity doesn't seem to exist in the DB
            return(kvp);
        }
Exemplo n.º 2
0
        public Dictionary <string, object> ToKeyValuePairs()
        {
            Dictionary <string, object> kvp = new Dictionary <string, object>();

            kvp["uuid"]                 = RegionID.ToString();
            kvp["locX"]                 = RegionLocX.ToString();
            kvp["locY"]                 = RegionLocY.ToString();
            kvp["regionName"]           = RegionName;
            kvp["regionType"]           = RegionType;
            kvp["serverIP"]             = ExternalHostName; //ExternalEndPoint.Address.ToString();
            kvp["serverHttpPort"]       = HttpPort.ToString();
            kvp["serverURI"]            = ServerURI;
            kvp["serverPort"]           = InternalEndPoint.Port.ToString();
            kvp["regionMapTexture"]     = TerrainImage.ToString();
            kvp["regionTerrainTexture"] = TerrainMapImage.ToString();
            kvp["access"]               = Access.ToString();
            kvp["owner_uuid"]           = EstateOwner.ToString();
            kvp["Token"]                = AuthToken.ToString();
            kvp["sizeX"]                = RegionSizeX.ToString();
            kvp["sizeY"]                = RegionSizeY.ToString();
            return(kvp);
        }