diff options
author | Justin Clarke Casey | 2008-09-29 14:41:16 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-29 14:41:16 +0000 |
commit | 7ec065198aea732ffc241ab70a72acfb534aeccc (patch) | |
tree | a7ccd45d10c995870ef0807f586d39a7cb8fc1a8 /OpenSim/Framework/Communications/Cache | |
parent | fixes future mantis from SachaMagne. (diff) | |
download | opensim-SC_OLD-7ec065198aea732ffc241ab70a72acfb534aeccc.zip opensim-SC_OLD-7ec065198aea732ffc241ab70a72acfb534aeccc.tar.gz opensim-SC_OLD-7ec065198aea732ffc241ab70a72acfb534aeccc.tar.bz2 opensim-SC_OLD-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.cs | 15 |
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 |