* Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls

This commit is contained in:
Teravus Ovares
2007-12-14 07:55:33 +00:00
parent c65b2a38d8
commit 79935881aa
7 changed files with 31 additions and 21 deletions

View File

@@ -51,4 +51,4 @@ namespace OpenSim.Framework.Communications
/// <returns></returns>
List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID);
}
}
}

View File

@@ -74,14 +74,20 @@ namespace OpenSim.Framework.Communications
}
}
}
public List<InventoryFolderBase> RequestFirstLevelFolders(Guid rawUserID)
{
LLUUID userID = new LLUUID(rawUserID);
return RequestFirstLevelFolders(userID);
}
/// <summary>
/// Returns the root folder plus any folders in root (so down one level in the Inventory folders tree)
/// </summary>
/// <param name="userID"></param>
/// <returns></returns>
public List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID)
{
{
List<InventoryFolderBase> inventoryList = new List<InventoryFolderBase>();
InventoryFolderBase rootFolder = null;