diff options
Diffstat (limited to 'OpenSim/Framework')
-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 |