diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/InventoryItemBase.cs | 118 |
1 files changed, 109 insertions, 9 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index 3d75a8a..dbf2085 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs | |||
@@ -54,6 +54,10 @@ namespace OpenSim.Framework | |||
54 | /// </summary> | 54 | /// </summary> |
55 | private LLUUID _creator; | 55 | private LLUUID _creator; |
56 | 56 | ||
57 | private LLUUID _owner; | ||
58 | |||
59 | private uint _nextPermissions; | ||
60 | |||
57 | /// <summary> | 61 | /// <summary> |
58 | /// A mask containing permissions for the current owner (cannot be enforced) | 62 | /// A mask containing permissions for the current owner (cannot be enforced) |
59 | /// </summary> | 63 | /// </summary> |
@@ -89,20 +93,44 @@ namespace OpenSim.Framework | |||
89 | /// </summary> | 93 | /// </summary> |
90 | private string _name; | 94 | private string _name; |
91 | 95 | ||
96 | |||
92 | /// <summary> | 97 | /// <summary> |
93 | /// A mask containing the permissions for the next owner (cannot be enforced) | 98 | /// |
94 | /// </summary> | 99 | /// </summary> |
95 | private uint _nextPermissions; | 100 | private LLUUID _groupID; |
96 | 101 | ||
97 | /// <summary> | 102 | /// <summary> |
98 | /// The owner of this inventory item | 103 | /// |
99 | /// </summary> | 104 | /// </summary> |
100 | private LLUUID _owner; | 105 | private bool _groupOwned; |
101 | 106 | ||
102 | public LLUUID ID | 107 | /// <summary> |
103 | { | 108 | /// |
104 | get { return _id; } | 109 | /// </summary> |
105 | set { _id = value; } | 110 | private int _salePrice; |
111 | |||
112 | /// <summary> | ||
113 | /// | ||
114 | /// </summary> | ||
115 | private byte _saleType; | ||
116 | |||
117 | /// <summary> | ||
118 | /// | ||
119 | /// </summary> | ||
120 | private uint _flags; | ||
121 | |||
122 | /// <summary> | ||
123 | /// | ||
124 | /// </summary> | ||
125 | public int _creationDate; | ||
126 | |||
127 | public LLUUID ID { | ||
128 | get { | ||
129 | return _id; | ||
130 | } | ||
131 | set { | ||
132 | _id = value; | ||
133 | } | ||
106 | } | 134 | } |
107 | 135 | ||
108 | public int InvType | 136 | public int InvType |
@@ -176,5 +204,77 @@ namespace OpenSim.Framework | |||
176 | get { return _assetID; } | 204 | get { return _assetID; } |
177 | set { _assetID = value; } | 205 | set { _assetID = value; } |
178 | } | 206 | } |
207 | |||
208 | public LLUUID GroupID | ||
209 | { | ||
210 | get | ||
211 | { | ||
212 | return _groupID; | ||
213 | } | ||
214 | set | ||
215 | { | ||
216 | _groupID = value; | ||
217 | } | ||
218 | } | ||
219 | |||
220 | public bool GroupOwned | ||
221 | { | ||
222 | get | ||
223 | { | ||
224 | return _groupOwned; | ||
225 | } | ||
226 | set | ||
227 | { | ||
228 | _groupOwned = value; | ||
229 | } | ||
230 | } | ||
231 | |||
232 | public int SalePrice | ||
233 | { | ||
234 | get | ||
235 | { | ||
236 | return _salePrice; | ||
237 | } | ||
238 | set | ||
239 | { | ||
240 | _salePrice = value; | ||
241 | } | ||
242 | } | ||
243 | |||
244 | public byte SaleType | ||
245 | { | ||
246 | get | ||
247 | { | ||
248 | return _saleType; | ||
249 | } | ||
250 | set | ||
251 | { | ||
252 | _saleType = value; | ||
253 | } | ||
254 | } | ||
255 | |||
256 | public uint Flags | ||
257 | { | ||
258 | get | ||
259 | { | ||
260 | return _flags; | ||
261 | } | ||
262 | set | ||
263 | { | ||
264 | _flags = value; | ||
265 | } | ||
266 | } | ||
267 | |||
268 | public int CreationDate | ||
269 | { | ||
270 | get | ||
271 | { | ||
272 | return _creationDate; | ||
273 | } | ||
274 | set | ||
275 | { | ||
276 | _creationDate = value; | ||
277 | } | ||
278 | } | ||
179 | } | 279 | } |
180 | } \ No newline at end of file | 280 | } |