aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-11 19:29:59 +0000
committerJustin Clarke Casey2009-02-11 19:29:59 +0000
commite12981ef1be8a424a975f8976d43245de868efb9 (patch)
tree26a78b17264907feff777dd4360758fce92860c7 /OpenSim/Framework/InventoryItemBase.cs
parent* Refactor inventory archive code to allow direct invocation in order to supp... (diff)
downloadopensim-SC_OLD-e12981ef1be8a424a975f8976d43245de868efb9.zip
opensim-SC_OLD-e12981ef1be8a424a975f8976d43245de868efb9.tar.gz
opensim-SC_OLD-e12981ef1be8a424a975f8976d43245de868efb9.tar.bz2
opensim-SC_OLD-e12981ef1be8a424a975f8976d43245de868efb9.tar.xz
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs34
1 files changed, 2 insertions, 32 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index cd96e01..ecc2d76 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -33,7 +33,7 @@ namespace OpenSim.Framework
33 /// <summary> 33 /// <summary>
34 /// Inventory Item - contains all the properties associated with an individual inventory piece. 34 /// Inventory Item - contains all the properties associated with an individual inventory piece.
35 /// </summary> 35 /// </summary>
36 public class InventoryItemBase 36 public class InventoryItemBase : InventoryNodeBase
37 { 37 {
38 /// <summary> 38 /// <summary>
39 /// The UUID of the associated asset on the asset server 39 /// The UUID of the associated asset on the asset server
@@ -55,8 +55,6 @@ namespace OpenSim.Framework
55 /// </summary> 55 /// </summary>
56 private UUID _creator; 56 private UUID _creator;
57 57
58 private UUID _owner;
59
60 private uint _nextPermissions; 58 private uint _nextPermissions;
61 59
62 /// <summary> 60 /// <summary>
@@ -85,22 +83,11 @@ namespace OpenSim.Framework
85 private UUID _folder; 83 private UUID _folder;
86 84
87 /// <summary> 85 /// <summary>
88 /// A UUID containing the ID for the inventory item itself 86 /// The inventory type of the item. This is slightly different from the asset type in some situations.
89 /// </summary>
90 private UUID _id;
91
92 /// <summary>
93 /// The type of inventory item. (Can be slightly different to the asset type
94 /// </summary> 87 /// </summary>
95 private int _invType; 88 private int _invType;
96 89
97 /// <summary> 90 /// <summary>
98 /// The name of the inventory item (must be less than 64 characters)
99 /// </summary>
100 private string _name;
101
102
103 /// <summary>
104 /// 91 ///
105 /// </summary> 92 /// </summary>
106 private UUID _groupID; 93 private UUID _groupID;
@@ -130,11 +117,6 @@ namespace OpenSim.Framework
130 /// </summary> 117 /// </summary>
131 private int _creationDate; 118 private int _creationDate;
132 119
133 public UUID ID {
134 get { return _id; }
135 set { _id = value; }
136 }
137
138 public int InvType 120 public int InvType
139 { 121 {
140 get { return _invType; } 122 get { return _invType; }
@@ -147,24 +129,12 @@ namespace OpenSim.Framework
147 set { _folder = value; } 129 set { _folder = value; }
148 } 130 }
149 131
150 public UUID Owner
151 {
152 get { return _owner; }
153 set { _owner = value; }
154 }
155
156 public UUID Creator 132 public UUID Creator
157 { 133 {
158 get { return _creator; } 134 get { return _creator; }
159 set { _creator = value; } 135 set { _creator = value; }
160 } 136 }
161 137
162 public string Name
163 {
164 get { return _name; }
165 set { _name = value; }
166 }
167
168 public string Description 138 public string Description
169 { 139 {
170 get { return _description; } 140 get { return _description; }