aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryCollection.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-11 20:37:26 +0000
committerJustin Clarke Casey2008-04-11 20:37:26 +0000
commitb3f783ae056fd2e8921336a1d459d91c7df97ce3 (patch)
tree0cb69554ade962cdb1db4e853e1da564c1e2f4a9 /OpenSim/Framework/InventoryCollection.cs
parent* Minor refactoring in OGS1InventoryService (diff)
downloadopensim-SC_OLD-b3f783ae056fd2e8921336a1d459d91c7df97ce3.zip
opensim-SC_OLD-b3f783ae056fd2e8921336a1d459d91c7df97ce3.tar.gz
opensim-SC_OLD-b3f783ae056fd2e8921336a1d459d91c7df97ce3.tar.bz2
opensim-SC_OLD-b3f783ae056fd2e8921336a1d459d91c7df97ce3.tar.xz
* Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway * Also add more doc, fix up debugging messages, etc
Diffstat (limited to 'OpenSim/Framework/InventoryCollection.cs')
-rw-r--r--OpenSim/Framework/InventoryCollection.cs45
1 files changed, 3 insertions, 42 deletions
diff --git a/OpenSim/Framework/InventoryCollection.cs b/OpenSim/Framework/InventoryCollection.cs
index e76e1a9..abccf49 100644
--- a/OpenSim/Framework/InventoryCollection.cs
+++ b/OpenSim/Framework/InventoryCollection.cs
@@ -37,47 +37,8 @@ namespace OpenSim.Framework
37 /// </summary> 37 /// </summary>
38 public class InventoryCollection 38 public class InventoryCollection
39 { 39 {
40 public List<InventoryFolderBase> _folders; 40 public List<InventoryFolderBase> Folders;
41 public List<InventoryItemBase> _allItems; 41 public List<InventoryItemBase> Items;
42 public LLUUID _userID; 42 public LLUUID UserID;
43
44 public List<InventoryFolderBase> Folders {
45 get {
46 return _folders;
47 }
48 set {
49 _folders = value;
50 }
51 }
52
53 public List<InventoryItemBase> AllItems {
54 get {
55 return _allItems;
56 }
57 set {
58 _allItems = value;
59 }
60 }
61
62 public LLUUID UserID {
63 get {
64 return _userID;
65 }
66 set {
67 _userID = value;
68 }
69 }
70
71 public InventoryCollection()
72 {
73 _folders = new List<InventoryFolderBase>();
74 _allItems = new List<InventoryItemBase>();
75 }
76
77 public InventoryCollection(List<InventoryFolderBase> folders, List<InventoryItemBase> allItems)
78 {
79 _folders = folders;
80 _allItems = allItems;
81 }
82 } 43 }
83} 44}