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. --- .../Region/Communications/OGS1/OGS1InventoryService.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs') diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index 2828928..b9e8394 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs @@ -29,7 +29,7 @@ using System; using System.Collections.Generic; using System.Net; using System.Reflection; -using libsecondlife; +using OpenMetaverse; using log4net; using OpenSim.Framework; using OpenSim.Framework.Communications; @@ -46,8 +46,8 @@ namespace OpenSim.Region.Communications.OGS1 private string _inventoryServerUrl; private Uri m_Uri; - private Dictionary m_RequestingInventory - = new Dictionary(); + private Dictionary m_RequestingInventory + = new Dictionary(); public OGS1InventoryService(string inventoryServerUrl) { @@ -67,7 +67,7 @@ namespace OpenSim.Region.Communications.OGS1 /// /// /// - public void RequestInventoryForUser(LLUUID userID, InventoryReceiptCallback callback) + public void RequestInventoryForUser(UUID userID, InventoryReceiptCallback callback) { if (!m_RequestingInventory.ContainsKey(userID)) { @@ -83,7 +83,7 @@ namespace OpenSim.Region.Communications.OGS1 = new RestObjectPosterResponse(); requester.ResponseCallback = InventoryResponse; - requester.BeginPostObject(_inventoryServerUrl + "/GetInventory/", userID.UUID); + requester.BeginPostObject(_inventoryServerUrl + "/GetInventory/", userID.Guid); } catch (WebException e) { @@ -106,7 +106,7 @@ namespace OpenSim.Region.Communications.OGS1 /// private void InventoryResponse(InventoryCollection response) { - LLUUID userID = response.UserID; + UUID userID = response.UserID; if (m_RequestingInventory.ContainsKey(userID)) { m_log.InfoFormat("[OGS1 INVENTORY SERVICE]: " + @@ -121,7 +121,7 @@ namespace OpenSim.Region.Communications.OGS1 foreach (InventoryFolderBase folder in response.Folders) { - if (folder.ParentID == LLUUID.Zero) + if (folder.ParentID == UUID.Zero) { rootFolder = new InventoryFolderImpl(folder); folders.Add(rootFolder); @@ -296,12 +296,12 @@ namespace OpenSim.Region.Communications.OGS1 return false; } - public bool HasInventoryForUser(LLUUID userID) + public bool HasInventoryForUser(UUID userID) { return false; } - public InventoryFolderBase RequestRootFolder(LLUUID userID) + public InventoryFolderBase RequestRootFolder(UUID userID) { return null; } -- cgit v1.1