aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-29 14:41:16 +0000
committerJustin Clarke Casey2008-09-29 14:41:16 +0000
commit7ec065198aea732ffc241ab70a72acfb534aeccc (patch)
treea7ccd45d10c995870ef0807f586d39a7cb8fc1a8 /OpenSim/Framework/Communications/Cache
parentfixes future mantis from SachaMagne. (diff)
downloadopensim-SC-7ec065198aea732ffc241ab70a72acfb534aeccc.zip
opensim-SC-7ec065198aea732ffc241ab70a72acfb534aeccc.tar.gz
opensim-SC-7ec065198aea732ffc241ab70a72acfb534aeccc.tar.bz2
opensim-SC-7ec065198aea732ffc241ab70a72acfb534aeccc.tar.xz
* 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!
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs15
1 files changed, 15 insertions, 0 deletions
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
316 return folderList; 316 return folderList;
317 } 317 }
318 318
319 public List<InventoryFolderImpl> RequestListOfFolderImpls()
320 {
321 List<InventoryFolderImpl> folderList = new List<InventoryFolderImpl>();
322
323 lock (SubFolders)
324 {
325 foreach (InventoryFolderImpl folder in SubFolders.Values)
326 {
327 folderList.Add(folder);
328 }
329 }
330
331 return folderList;
332 }
333
319 public int TotalCount 334 public int TotalCount
320 { 335 {
321 get 336 get