diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/InventoryFolder.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/InventoryFolder.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolder.cs b/OpenSim/Framework/Communications/Cache/InventoryFolder.cs index 3495e55..6161c5a 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolder.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolder.cs | |||
@@ -36,6 +36,13 @@ namespace OpenSim.Framework.Communications.Cache | |||
36 | public Dictionary<LLUUID, InventoryItemBase> Items = new Dictionary<LLUUID, InventoryItemBase>(); | 36 | public Dictionary<LLUUID, InventoryItemBase> Items = new Dictionary<LLUUID, InventoryItemBase>(); |
37 | public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>(); | 37 | public Dictionary<LLUUID, InventoryFolderImpl> SubFolders = new Dictionary<LLUUID, InventoryFolderImpl>(); |
38 | 38 | ||
39 | // Accessors | ||
40 | public int SubFoldersCount | ||
41 | { | ||
42 | get { return SubFolders.Count; } | ||
43 | } | ||
44 | |||
45 | // Constructors | ||
39 | public InventoryFolderImpl(InventoryFolderBase folderbase) | 46 | public InventoryFolderImpl(InventoryFolderBase folderbase) |
40 | { | 47 | { |
41 | agentID = folderbase.agentID; | 48 | agentID = folderbase.agentID; |
@@ -132,4 +139,4 @@ namespace OpenSim.Framework.Communications.Cache | |||
132 | return itemList; | 139 | return itemList; |
133 | } | 140 | } |
134 | } | 141 | } |
135 | } \ No newline at end of file | 142 | } |