aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs145
1 files changed, 132 insertions, 13 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index 7d146e7..03b47ca 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -40,66 +40,185 @@ namespace OpenSim.Framework
40 /// <summary> 40 /// <summary>
41 /// A UUID containing the ID for the inventory item itself 41 /// A UUID containing the ID for the inventory item itself
42 /// </summary> 42 /// </summary>
43 public LLUUID inventoryID; 43 private LLUUID _id;
44 44
45 /// <summary> 45 /// <summary>
46 /// The UUID of the associated asset on the asset server 46 /// The UUID of the associated asset on the asset server
47 /// </summary> 47 /// </summary>
48 public LLUUID assetID; 48 private LLUUID _assetID;
49 49
50 /// <summary> 50 /// <summary>
51 /// This is an enumerated value determining the type of asset (eg Notecard, Sound, Object, etc) 51 /// This is an enumerated value determining the type of asset (eg Notecard, Sound, Object, etc)
52 /// </summary> 52 /// </summary>
53 public int assetType; 53 private int _assetType;
54 54
55 /// <summary> 55 /// <summary>
56 /// The type of inventory item. (Can be slightly different to the asset type 56 /// The type of inventory item. (Can be slightly different to the asset type
57 /// </summary> 57 /// </summary>
58 public int invType; 58 private int _invType;
59 59
60 /// <summary> 60 /// <summary>
61 /// The folder this item is contained in 61 /// The folder this item is contained in
62 /// </summary> 62 /// </summary>
63 public LLUUID parentFolderID; 63 private LLUUID _folder;
64 64
65 /// <summary> 65 /// <summary>
66 /// The owner of this inventory item 66 /// The owner of this inventory item
67 /// </summary> 67 /// </summary>
68 public LLUUID avatarID; 68 private LLUUID _owner;
69 69
70 /// <summary> 70 /// <summary>
71 /// The creator of this item 71 /// The creator of this item
72 /// </summary> 72 /// </summary>
73 public LLUUID creatorsID; 73 private LLUUID _creator;
74 74
75 /// <summary> 75 /// <summary>
76 /// The name of the inventory item (must be less than 64 characters) 76 /// The name of the inventory item (must be less than 64 characters)
77 /// </summary> 77 /// </summary>
78 public string inventoryName; 78 private string _name;
79 79
80 /// <summary> 80 /// <summary>
81 /// The description of the inventory item (must be less than 64 characters) 81 /// The description of the inventory item (must be less than 64 characters)
82 /// </summary> 82 /// </summary>
83 public string inventoryDescription; 83 private string _description;
84 84
85 /// <summary> 85 /// <summary>
86 /// A mask containing the permissions for the next owner (cannot be enforced) 86 /// A mask containing the permissions for the next owner (cannot be enforced)
87 /// </summary> 87 /// </summary>
88 public uint inventoryNextPermissions; 88 private uint _nextPermissions;
89 89
90 /// <summary> 90 /// <summary>
91 /// A mask containing permissions for the current owner (cannot be enforced) 91 /// A mask containing permissions for the current owner (cannot be enforced)
92 /// </summary> 92 /// </summary>
93 public uint inventoryCurrentPermissions; 93 private uint _currentPermissions;
94 94
95 /// <summary> 95 /// <summary>
96 /// 96 ///
97 /// </summary> 97 /// </summary>
98 public uint inventoryBasePermissions; 98 private uint _basePermissions;
99 99
100 /// <summary> 100 /// <summary>
101 /// 101 ///
102 /// </summary> 102 /// </summary>
103 public uint inventoryEveryOnePermissions; 103 private uint _everyOnePermissions;
104
105 public LLUUID ID {
106 get {
107 return _id;
108 }
109 set {
110 _id = value;
111 }
112 }
113
114
115
116 public int InvType {
117 get {
118 return _invType;
119 }
120 set {
121 _invType = value;
122 }
123 }
124
125 public LLUUID Folder {
126 get {
127 return _folder;
128 }
129 set {
130 _folder = value;
131 }
132 }
133
134 public LLUUID Owner {
135 get {
136 return _owner;
137 }
138 set {
139 _owner = value;
140 }
141 }
142
143 public LLUUID Creator {
144 get {
145 return _creator;
146 }
147 set {
148 _creator = value;
149 }
150 }
151
152 public string Name {
153 get {
154 return _name;
155 }
156 set {
157 _name = value;
158 }
159 }
160
161 public string Description {
162 get {
163 return _description;
164 }
165 set {
166 _description = value;
167 }
168 }
169
170 public uint NextPermissions {
171 get {
172 return _nextPermissions;
173 }
174 set {
175 _nextPermissions = value;
176 }
177 }
178
179 public uint CurrentPermissions {
180 get {
181 return _currentPermissions;
182 }
183 set {
184 _currentPermissions = value;
185 }
186 }
187
188 public uint BasePermissions {
189 get {
190 return _basePermissions;
191 }
192 set {
193 _basePermissions = value;
194 }
195 }
196
197 public uint EveryOnePermissions {
198 get {
199 return _everyOnePermissions;
200 }
201 set {
202 _everyOnePermissions = value;
203 }
204 }
205
206 public int AssetType {
207 get {
208 return _assetType;
209 }
210 set {
211 _assetType = value;
212 }
213 }
214
215 public LLUUID AssetID {
216 get {
217 return _assetID;
218 }
219 set {
220 _assetID = value;
221 }
222 }
104 } 223 }
105} 224}