diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/InventoryCollection.cs | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/OpenSim/Framework/InventoryCollection.cs b/OpenSim/Framework/InventoryCollection.cs index 98e8bb6..c8d8716 100644 --- a/OpenSim/Framework/InventoryCollection.cs +++ b/OpenSim/Framework/InventoryCollection.cs | |||
@@ -34,20 +34,47 @@ namespace OpenSim.Framework | |||
34 | { | 34 | { |
35 | public class InventoryCollection | 35 | public class InventoryCollection |
36 | { | 36 | { |
37 | public List<InventoryFolderBase> Folders; | 37 | public List<InventoryFolderBase> _folders; |
38 | public List<InventoryItemBase> AllItems; | 38 | public List<InventoryItemBase> _allItems; |
39 | public LLUUID UserID; | 39 | public LLUUID _userID; |
40 | |||
41 | public List<InventoryFolderBase> Folders { | ||
42 | get { | ||
43 | return _folders; | ||
44 | } | ||
45 | set { | ||
46 | _folders = value; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | public List<InventoryItemBase> AllItems { | ||
51 | get { | ||
52 | return _allItems; | ||
53 | } | ||
54 | set { | ||
55 | _allItems = value; | ||
56 | } | ||
57 | } | ||
58 | |||
59 | public LLUUID UserID { | ||
60 | get { | ||
61 | return _userID; | ||
62 | } | ||
63 | set { | ||
64 | _userID = value; | ||
65 | } | ||
66 | } | ||
40 | 67 | ||
41 | public InventoryCollection() | 68 | public InventoryCollection() |
42 | { | 69 | { |
43 | Folders = new List<InventoryFolderBase>(); | 70 | _folders = new List<InventoryFolderBase>(); |
44 | AllItems = new List<InventoryItemBase>(); | 71 | _allItems = new List<InventoryItemBase>(); |
45 | } | 72 | } |
46 | 73 | ||
47 | public InventoryCollection(List<InventoryFolderBase> folders, List<InventoryItemBase> allItems) | 74 | public InventoryCollection(List<InventoryFolderBase> folders, List<InventoryItemBase> allItems) |
48 | { | 75 | { |
49 | Folders = folders; | 76 | _folders = folders; |
50 | AllItems = allItems; | 77 | _allItems = allItems; |
51 | } | 78 | } |
52 | } | 79 | } |
53 | } | 80 | } |