From a9cc76e0efba7496909d613c75b81de6a9c5d979 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Wed, 30 Apr 2008 16:08:24 +0000
Subject: * Long awaited patch from A_Biondi Mantis 923. Kept alive by
Melanie. Thanks A_Biondi and Melanie! * This builds but might not work.
JustinCC will examine.. it may work out of the box.
---
OpenSim/Framework/InventoryItemBase.cs | 118 ++++++++++++++++++++++++++++++---
1 file changed, 109 insertions(+), 9 deletions(-)
(limited to 'OpenSim/Framework/InventoryItemBase.cs')
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
///
private LLUUID _creator;
+ private LLUUID _owner;
+
+ private uint _nextPermissions;
+
///
/// A mask containing permissions for the current owner (cannot be enforced)
///
@@ -89,20 +93,44 @@ namespace OpenSim.Framework
///
private string _name;
+
///
- /// A mask containing the permissions for the next owner (cannot be enforced)
+ ///
///
- private uint _nextPermissions;
+ private LLUUID _groupID;
///
- /// The owner of this inventory item
+ ///
///
- private LLUUID _owner;
+ private bool _groupOwned;
- public LLUUID ID
- {
- get { return _id; }
- set { _id = value; }
+ ///
+ ///
+ ///
+ private int _salePrice;
+
+ ///
+ ///
+ ///
+ private byte _saleType;
+
+ ///
+ ///
+ ///
+ private uint _flags;
+
+ ///
+ ///
+ ///
+ public int _creationDate;
+
+ public LLUUID ID {
+ get {
+ return _id;
+ }
+ set {
+ _id = value;
+ }
}
public int InvType
@@ -176,5 +204,77 @@ namespace OpenSim.Framework
get { return _assetID; }
set { _assetID = value; }
}
+
+ public LLUUID GroupID
+ {
+ get
+ {
+ return _groupID;
+ }
+ set
+ {
+ _groupID = value;
+ }
+ }
+
+ public bool GroupOwned
+ {
+ get
+ {
+ return _groupOwned;
+ }
+ set
+ {
+ _groupOwned = value;
+ }
+ }
+
+ public int SalePrice
+ {
+ get
+ {
+ return _salePrice;
+ }
+ set
+ {
+ _salePrice = value;
+ }
+ }
+
+ public byte SaleType
+ {
+ get
+ {
+ return _saleType;
+ }
+ set
+ {
+ _saleType = value;
+ }
+ }
+
+ public uint Flags
+ {
+ get
+ {
+ return _flags;
+ }
+ set
+ {
+ _flags = value;
+ }
+ }
+
+ public int CreationDate
+ {
+ get
+ {
+ return _creationDate;
+ }
+ set
+ {
+ _creationDate = value;
+ }
+ }
}
-}
\ No newline at end of file
+}
--
cgit v1.1