diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/InventoryFolder.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/InventoryFolder.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolder.cs b/OpenSim/Framework/Communications/Cache/InventoryFolder.cs index 300a6e3..6b0e2b4 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolder.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolder.cs | |||
@@ -44,6 +44,21 @@ namespace OpenSim.Framework.Communications.Caches | |||
44 | public Dictionary<LLUUID, InventoryItemBase> Items = new Dictionary<LLUUID, InventoryItemBase>(); | 44 | public Dictionary<LLUUID, InventoryItemBase> Items = new Dictionary<LLUUID, InventoryItemBase>(); |
45 | public Dictionary<LLUUID, InventoryFolder> SubFolders = new Dictionary<LLUUID, InventoryFolder>(); | 45 | public Dictionary<LLUUID, InventoryFolder> SubFolders = new Dictionary<LLUUID, InventoryFolder>(); |
46 | 46 | ||
47 | public InventoryFolder(InventoryFolderBase folderbase) | ||
48 | { | ||
49 | this.agentID = folderbase.agentID; | ||
50 | this.folderID = folderbase.folderID; | ||
51 | this.name = folderbase.name; | ||
52 | this.parentID = folderbase.parentID; | ||
53 | this.type = folderbase.type; | ||
54 | this.version = folderbase.version; | ||
55 | } | ||
56 | |||
57 | public InventoryFolder() | ||
58 | { | ||
59 | |||
60 | } | ||
61 | |||
47 | // Methods | 62 | // Methods |
48 | public InventoryFolder CreateNewSubFolder(LLUUID folderID, string folderName, ushort type) | 63 | public InventoryFolder CreateNewSubFolder(LLUUID folderID, string folderName, ushort type) |
49 | { | 64 | { |