diff options
author | Justin Clarke Casey | 2009-02-11 19:29:59 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-11 19:29:59 +0000 |
commit | e12981ef1be8a424a975f8976d43245de868efb9 (patch) | |
tree | 26a78b17264907feff777dd4360758fce92860c7 /OpenSim/Framework/InventoryFolderBase.cs | |
parent | * Refactor inventory archive code to allow direct invocation in order to supp... (diff) | |
download | opensim-SC-e12981ef1be8a424a975f8976d43245de868efb9.zip opensim-SC-e12981ef1be8a424a975f8976d43245de868efb9.tar.gz opensim-SC-e12981ef1be8a424a975f8976d43245de868efb9.tar.bz2 opensim-SC-e12981ef1be8a424a975f8976d43245de868efb9.tar.xz |
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
Diffstat (limited to 'OpenSim/Framework/InventoryFolderBase.cs')
-rw-r--r-- | OpenSim/Framework/InventoryFolderBase.cs | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/OpenSim/Framework/InventoryFolderBase.cs b/OpenSim/Framework/InventoryFolderBase.cs index e55f834..a6e249e 100644 --- a/OpenSim/Framework/InventoryFolderBase.cs +++ b/OpenSim/Framework/InventoryFolderBase.cs | |||
@@ -32,24 +32,9 @@ namespace OpenSim.Framework | |||
32 | /// <summary> | 32 | /// <summary> |
33 | /// A Class for folders which contain users inventory | 33 | /// A Class for folders which contain users inventory |
34 | /// </summary> | 34 | /// </summary> |
35 | public class InventoryFolderBase | 35 | public class InventoryFolderBase : InventoryNodeBase |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// The UUID for this folder | ||
39 | /// </summary> | ||
40 | private UUID _id; | ||
41 | |||
42 | /// <summary> | ||
43 | /// The name of the folder (64 characters or less) | ||
44 | /// </summary> | ||
45 | private string _name; | ||
46 | |||
47 | /// <summary> | ||
48 | /// The agent who's inventory this is contained by | ||
49 | /// </summary> | ||
50 | private UUID _owner; | ||
51 | |||
52 | /// <summary> | ||
53 | /// The folder this folder is contained in | 38 | /// The folder this folder is contained in |
54 | /// </summary> | 39 | /// </summary> |
55 | private UUID _parentID; | 40 | private UUID _parentID; |
@@ -66,30 +51,12 @@ namespace OpenSim.Framework | |||
66 | /// </summary> | 51 | /// </summary> |
67 | private ushort _version; | 52 | private ushort _version; |
68 | 53 | ||
69 | public virtual string Name | ||
70 | { | ||
71 | get { return _name; } | ||
72 | set { _name = value; } | ||
73 | } | ||
74 | |||
75 | public virtual UUID Owner | ||
76 | { | ||
77 | get { return _owner; } | ||
78 | set { _owner = value; } | ||
79 | } | ||
80 | |||
81 | public virtual UUID ParentID | 54 | public virtual UUID ParentID |
82 | { | 55 | { |
83 | get { return _parentID; } | 56 | get { return _parentID; } |
84 | set { _parentID = value; } | 57 | set { _parentID = value; } |
85 | } | 58 | } |
86 | 59 | ||
87 | public virtual UUID ID | ||
88 | { | ||
89 | get { return _id; } | ||
90 | set { _id = value; } | ||
91 | } | ||
92 | |||
93 | public virtual short Type | 60 | public virtual short Type |
94 | { | 61 | { |
95 | get { return _type; } | 62 | get { return _type; } |