From 7ec065198aea732ffc241ab70a72acfb534aeccc Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 29 Sep 2008 14:41:16 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2294 * This is an initial basic experimental code for inventory import and export from the region server * Probably not yet ready for general use * Thanks Kayne! --- .../Framework/Communications/Cache/InventoryFolderImpl.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'OpenSim/Framework/Communications') diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs index 61343a0..f78cdee 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs @@ -316,6 +316,21 @@ namespace OpenSim.Framework.Communications.Cache return folderList; } + public List RequestListOfFolderImpls() + { + List folderList = new List(); + + lock (SubFolders) + { + foreach (InventoryFolderImpl folder in SubFolders.Values) + { + folderList.Add(folder); + } + } + + return folderList; + } + public int TotalCount { get -- cgit v1.1