aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryCollection.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-07 23:34:41 +0000
committerSean Dague2008-04-07 23:34:41 +0000
commita02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49 (patch)
treee768b02b5db38580820e29fa4d001920ef6141da /OpenSim/Framework/InventoryCollection.cs
parentmore refactoring, this time on InventoryFolderBase (diff)
downloadopensim-SC_OLD-a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49.zip
opensim-SC_OLD-a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49.tar.gz
opensim-SC_OLD-a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49.tar.bz2
opensim-SC_OLD-a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49.tar.xz
refactor of InventoryCollection for good measure
Diffstat (limited to 'OpenSim/Framework/InventoryCollection.cs')
-rw-r--r--OpenSim/Framework/InventoryCollection.cs41
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}