From 7d89e122930be39e84a6d174548fa2d12ac0484a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 6 Sep 2008 07:52:41 +0000 Subject: * This is the fabled LibOMV update with all of the libOMV types from JHurliman * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke. --- OpenSim/Data/RegionProfileData.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'OpenSim/Data/RegionProfileData.cs') diff --git a/OpenSim/Data/RegionProfileData.cs b/OpenSim/Data/RegionProfileData.cs index 9549b80..b4c7b3c 100644 --- a/OpenSim/Data/RegionProfileData.cs +++ b/OpenSim/Data/RegionProfileData.cs @@ -27,9 +27,10 @@ using System; using System.Collections; -using libsecondlife; +using OpenMetaverse; using Nwc.XmlRpc; using OpenSim.Framework; +using OpenMetaverse; namespace OpenSim.Data { @@ -51,7 +52,7 @@ namespace OpenSim.Data /// /// OGS/OpenSim Specific ID for a region /// - public LLUUID UUID; + public UUID UUID; /// /// Coordinates of the region @@ -117,18 +118,18 @@ namespace OpenSim.Data /// /// Region Map Texture Asset /// - public LLUUID regionMapTextureID = new LLUUID("00000000-0000-1111-9999-000000000006"); + public UUID regionMapTextureID = new UUID("00000000-0000-1111-9999-000000000006"); /// /// this particular mod to the file provides support within the spec for RegionProfileData for the /// owner_uuid for the region /// - public LLUUID owner_uuid = LLUUID.Zero; + public UUID owner_uuid = UUID.Zero; /// /// OGS/OpenSim Specific original ID for a region after move/split /// - public LLUUID originUUID; + public UUID originUUID; /// /// Request sim data based on arbitrary key/value @@ -161,7 +162,7 @@ namespace OpenSim.Data simData.remotingPort = Convert.ToUInt32((string) responseData["remoting_port"]); simData.serverURI = (string) responseData["server_uri"]; simData.httpServerURI = "http://" + simData.serverIP + ":" + simData.httpPort.ToString() + "/"; - simData.UUID = new LLUUID((string) responseData["region_UUID"]); + simData.UUID = new UUID((string) responseData["region_UUID"]); simData.regionName = (string) responseData["region_name"]; } @@ -177,10 +178,10 @@ namespace OpenSim.Data /// /// The sim profile. Null if there was a request failure /// This method should be statics - public static RegionProfileData RequestSimProfileData(LLUUID region_uuid, Uri gridserver_url, + public static RegionProfileData RequestSimProfileData(UUID region_uuid, Uri gridserver_url, string gridserver_sendkey, string gridserver_recvkey) { - return RequestSimData(gridserver_url, gridserver_sendkey, "region_UUID", region_uuid.UUID.ToString()); + return RequestSimData(gridserver_url, gridserver_sendkey, "region_UUID", region_uuid.Guid.ToString()); } /// -- cgit v1.1