aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryFolderBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/InventoryFolderBase.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/InventoryFolderBase.cs')
-rw-r--r--OpenSim/Framework/InventoryFolderBase.cs80
1 files changed, 31 insertions, 49 deletions
diff --git a/OpenSim/Framework/InventoryFolderBase.cs b/OpenSim/Framework/InventoryFolderBase.cs
index d3af3c7..910f7da 100644
--- a/OpenSim/Framework/InventoryFolderBase.cs
+++ b/OpenSim/Framework/InventoryFolderBase.cs
@@ -35,6 +35,11 @@ namespace OpenSim.Framework
35 public class InventoryFolderBase 35 public class InventoryFolderBase
36 { 36 {
37 /// <summary> 37 /// <summary>
38 /// The UUID for this folder
39 /// </summary>
40 private LLUUID _id;
41
42 /// <summary>
38 /// The name of the folder (64 characters or less) 43 /// The name of the folder (64 characters or less)
39 /// </summary> 44 /// </summary>
40 private string _name; 45 private string _name;
@@ -50,11 +55,6 @@ namespace OpenSim.Framework
50 private LLUUID _parentID; 55 private LLUUID _parentID;
51 56
52 /// <summary> 57 /// <summary>
53 /// The UUID for this folder
54 /// </summary>
55 private LLUUID _id;
56
57 /// <summary>
58 /// Type of items normally stored in this folder 58 /// Type of items normally stored in this folder
59 /// </summary> 59 /// </summary>
60 private short _type; 60 private short _type;
@@ -65,59 +65,41 @@ namespace OpenSim.Framework
65 /// time to time (1.19.1 caused us some fits there). 65 /// time to time (1.19.1 caused us some fits there).
66 /// </summary> 66 /// </summary>
67 private ushort _version; 67 private ushort _version;
68 68
69 public string Name { 69 public string Name
70 get { 70 {
71 return _name; 71 get { return _name; }
72 } 72 set { _name = value; }
73 set {
74 _name = value;
75 }
76 } 73 }
77 74
78 public LLUUID Owner { 75 public LLUUID Owner
79 get { 76 {
80 return _owner; 77 get { return _owner; }
81 } 78 set { _owner = value; }
82 set {
83 _owner = value;
84 }
85 } 79 }
86 80
87 public LLUUID ParentID { 81 public LLUUID ParentID
88 get { 82 {
89 return _parentID; 83 get { return _parentID; }
90 } 84 set { _parentID = value; }
91 set {
92 _parentID = value;
93 }
94 } 85 }
95 86
96 public LLUUID ID { 87 public LLUUID ID
97 get { 88 {
98 return _id; 89 get { return _id; }
99 } 90 set { _id = value; }
100 set {
101 _id = value;
102 }
103 } 91 }
104 92
105 public short Type { 93 public short Type
106 get { 94 {
107 return _type; 95 get { return _type; }
108 } 96 set { _type = value; }
109 set {
110 _type = value;
111 }
112 } 97 }
113 98
114 public ushort Version { 99 public ushort Version
115 get { 100 {
116 return _version; 101 get { return _version; }
117 } 102 set { _version = value; }
118 set {
119 _version = value;
120 }
121 } 103 }
122 } 104 }
123} 105} \ No newline at end of file