aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2008-07-23 19:28:18 +0000
committerSean Dague2008-07-23 19:28:18 +0000
commitaad92e13682e4019ebf7ad4797f7fadd48b51cc4 (patch)
treeece2ca8f5ef4087b68d1808d428c7fe9ee5a3561
parentAttempt to fix Mantis #1804 (diff)
downloadopensim-SC-aad92e13682e4019ebf7ad4797f7fadd48b51cc4.zip
opensim-SC-aad92e13682e4019ebf7ad4797f7fadd48b51cc4.tar.gz
opensim-SC-aad92e13682e4019ebf7ad4797f7fadd48b51cc4.tar.bz2
opensim-SC-aad92e13682e4019ebf7ad4797f7fadd48b51cc4.tar.xz
turn fields -> properties in TaskInventoryItem
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs239
1 files changed, 214 insertions, 25 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index a383242..512ba99 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -203,29 +203,218 @@ namespace OpenSim.Framework
203 "gesture" 203 "gesture"
204 }; 204 };
205 205
206 public LLUUID AssetID = LLUUID.Zero; 206 private LLUUID _assetID = LLUUID.Zero;
207 207
208 public uint BaseMask = FULL_MASK_PERMISSIONS_GENERAL; 208 private uint _baseMask = FULL_MASK_PERMISSIONS_GENERAL;
209 public uint CreationDate = 0; 209 private uint _creationDate = 0;
210 public LLUUID CreatorID = LLUUID.Zero; 210 private LLUUID _creatorID = LLUUID.Zero;
211 public string Description = String.Empty; 211 private string _description = String.Empty;
212 public uint EveryoneMask = FULL_MASK_PERMISSIONS_GENERAL; 212 private uint _everyoneMask = FULL_MASK_PERMISSIONS_GENERAL;
213 public uint Flags = 0; 213 private uint _flags = 0;
214 public LLUUID GroupID = LLUUID.Zero; 214 private LLUUID _groupID = LLUUID.Zero;
215 public uint GroupMask = FULL_MASK_PERMISSIONS_GENERAL; 215 private uint _groupMask = FULL_MASK_PERMISSIONS_GENERAL;
216 216
217 public int InvType = 0; 217 private int _invType = 0;
218 public LLUUID ItemID = LLUUID.Zero; 218 private LLUUID _itemID = LLUUID.Zero;
219 public LLUUID LastOwnerID = LLUUID.Zero; 219 private LLUUID _lastOwnerID = LLUUID.Zero;
220 public string Name = String.Empty; 220 private string _name = String.Empty;
221 public uint NextOwnerMask = FULL_MASK_PERMISSIONS_GENERAL; 221 private uint _nextOwnerMask = FULL_MASK_PERMISSIONS_GENERAL;
222 public LLUUID OwnerID = LLUUID.Zero; 222 private LLUUID _ownerID = LLUUID.Zero;
223 public uint OwnerMask = FULL_MASK_PERMISSIONS_GENERAL; 223 private uint _ownerMask = FULL_MASK_PERMISSIONS_GENERAL;
224 public LLUUID ParentID = LLUUID.Zero; //parent folder id 224 private LLUUID _parentID = LLUUID.Zero; //parent folder id
225 public LLUUID ParentPartID = LLUUID.Zero; 225 private LLUUID _parentPartID = LLUUID.Zero; // SceneObjectPart this is inside
226 public LLUUID PermsGranter; 226 private LLUUID _permsGranter;
227 public int PermsMask; 227 private int _permsMask;
228 public int Type = 0; 228 private int _type = 0;
229
230 public LLUUID AssetID {
231 get {
232 return _assetID;
233 }
234 set {
235 _assetID = value;
236 }
237 }
238
239 public uint BaseMask {
240 get {
241 return _baseMask;
242 }
243 set {
244 _baseMask = value;
245 }
246 }
247
248 public uint CreationDate {
249 get {
250 return _creationDate;
251 }
252 set {
253 _creationDate = value;
254 }
255 }
256
257 public LLUUID CreatorID {
258 get {
259 return _creatorID;
260 }
261 set {
262 _creatorID = value;
263 }
264 }
265
266 public string Description {
267 get {
268 return _description;
269 }
270 set {
271 _description = value;
272 }
273 }
274
275 public uint EveryoneMask {
276 get {
277 return _everyoneMask;
278 }
279 set {
280 _everyoneMask = value;
281 }
282 }
283
284 public uint Flags {
285 get {
286 return _flags;
287 }
288 set {
289 _flags = value;
290 }
291 }
292
293 public LLUUID GroupID {
294 get {
295 return _groupID;
296 }
297 set {
298 _groupID = value;
299 }
300 }
301
302 public uint GroupMask {
303 get {
304 return _groupMask;
305 }
306 set {
307 _groupMask = value;
308 }
309 }
310
311 public int InvType {
312 get {
313 return _invType;
314 }
315 set {
316 _invType = value;
317 }
318 }
319
320 public LLUUID ItemID {
321 get {
322 return _itemID;
323 }
324 set {
325 _itemID = value;
326 }
327 }
328
329 public LLUUID LastOwnerID {
330 get {
331 return _lastOwnerID;
332 }
333 set {
334 _lastOwnerID = value;
335 }
336 }
337
338 public string Name {
339 get {
340 return _name;
341 }
342 set {
343 _name = value;
344 }
345 }
346
347 public uint NextOwnerMask {
348 get {
349 return _nextOwnerMask;
350 }
351 set {
352 _nextOwnerMask = value;
353 }
354 }
355
356 public LLUUID OwnerID {
357 get {
358 return _ownerID;
359 }
360 set {
361 _ownerID = value;
362 }
363 }
364
365 public uint OwnerMask {
366 get {
367 return _ownerMask;
368 }
369 set {
370 _ownerMask = value;
371 }
372 }
373
374 public LLUUID ParentID {
375 get {
376 return _parentID;
377 }
378 set {
379 _parentID = value;
380 }
381 }
382
383 public LLUUID ParentPartID {
384 get {
385 return _parentPartID;
386 }
387 set {
388 _parentPartID = value;
389 }
390 }
391
392 public LLUUID PermsGranter {
393 get {
394 return _permsGranter;
395 }
396 set {
397 _permsGranter = value;
398 }
399 }
400
401 public int PermsMask {
402 get {
403 return _permsMask;
404 }
405 set {
406 _permsMask = value;
407 }
408 }
409
410 public int Type {
411 get {
412 return _type;
413 }
414 set {
415 _type = value;
416 }
417 }
229 418
230 // See ICloneable 419 // See ICloneable
231 420
@@ -244,8 +433,8 @@ namespace OpenSim.Framework
244 /// <param name="partID">The new part ID to which this item belongs</param> 433 /// <param name="partID">The new part ID to which this item belongs</param>
245 public void ResetIDs(LLUUID partID) 434 public void ResetIDs(LLUUID partID)
246 { 435 {
247 ItemID = LLUUID.Random(); 436 _itemID = LLUUID.Random();
248 ParentPartID = partID; 437 _parentPartID = partID;
249 } 438 }
250 } 439 }
251} \ No newline at end of file 440} \ No newline at end of file