From e12981ef1be8a424a975f8976d43245de868efb9 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Wed, 11 Feb 2009 19:29:59 +0000
Subject: * Establish a common InventoryNodeBase class from InventoryItemBase
and InventoryFolderBase
---
OpenSim/Framework/InventoryItemBase.cs | 34 ++--------------------------------
1 file changed, 2 insertions(+), 32 deletions(-)
(limited to 'OpenSim/Framework/InventoryItemBase.cs')
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
///
/// Inventory Item - contains all the properties associated with an individual inventory piece.
///
- public class InventoryItemBase
+ public class InventoryItemBase : InventoryNodeBase
{
///
/// The UUID of the associated asset on the asset server
@@ -55,8 +55,6 @@ namespace OpenSim.Framework
///
private UUID _creator;
- private UUID _owner;
-
private uint _nextPermissions;
///
@@ -85,22 +83,11 @@ namespace OpenSim.Framework
private UUID _folder;
///
- /// A UUID containing the ID for the inventory item itself
- ///
- private UUID _id;
-
- ///
- /// The type of inventory item. (Can be slightly different to the asset type
+ /// The inventory type of the item. This is slightly different from the asset type in some situations.
///
private int _invType;
///
- /// The name of the inventory item (must be less than 64 characters)
- ///
- private string _name;
-
-
- ///
///
///
private UUID _groupID;
@@ -130,11 +117,6 @@ namespace OpenSim.Framework
///
private int _creationDate;
- public UUID ID {
- get { return _id; }
- set { _id = value; }
- }
-
public int InvType
{
get { return _invType; }
@@ -147,24 +129,12 @@ namespace OpenSim.Framework
set { _folder = value; }
}
- public UUID Owner
- {
- get { return _owner; }
- set { _owner = value; }
- }
-
public UUID Creator
{
get { return _creator; }
set { _creator = value; }
}
- public string Name
- {
- get { return _name; }
- set { _name = value; }
- }
-
public string Description
{
get { return _description; }
--
cgit v1.1