diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Framework/InventoryItemBase.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/InventoryItemBase.cs | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index f9fd752..c359a0c 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs | |||
@@ -34,17 +34,17 @@ namespace OpenSim.Framework | |||
34 | /// Inventory Item - contains all the properties associated with an individual inventory piece. | 34 | /// Inventory Item - contains all the properties associated with an individual inventory piece. |
35 | /// </summary> | 35 | /// </summary> |
36 | public class InventoryItemBase : InventoryNodeBase, ICloneable | 36 | public class InventoryItemBase : InventoryNodeBase, ICloneable |
37 | { | 37 | { |
38 | /// <value> | 38 | /// <value> |
39 | /// The inventory type of the item. This is slightly different from the asset type in some situations. | 39 | /// The inventory type of the item. This is slightly different from the asset type in some situations. |
40 | /// </value> | 40 | /// </value> |
41 | public int InvType | 41 | public int InvType |
42 | { | 42 | { |
43 | get | 43 | get |
44 | { | 44 | { |
45 | return m_invType; | 45 | return m_invType; |
46 | } | 46 | } |
47 | 47 | ||
48 | set | 48 | set |
49 | { | 49 | { |
50 | m_invType = value; | 50 | m_invType = value; |
@@ -55,13 +55,13 @@ namespace OpenSim.Framework | |||
55 | /// <value> | 55 | /// <value> |
56 | /// The folder this item is contained in | 56 | /// The folder this item is contained in |
57 | /// </value> | 57 | /// </value> |
58 | public UUID Folder | 58 | public UUID Folder |
59 | { | 59 | { |
60 | get | 60 | get |
61 | { | 61 | { |
62 | return m_folder; | 62 | return m_folder; |
63 | } | 63 | } |
64 | 64 | ||
65 | set | 65 | set |
66 | { | 66 | { |
67 | m_folder = value; | 67 | m_folder = value; |
@@ -72,17 +72,17 @@ namespace OpenSim.Framework | |||
72 | /// <value> | 72 | /// <value> |
73 | /// The creator of this item | 73 | /// The creator of this item |
74 | /// </value> | 74 | /// </value> |
75 | public string CreatorId | 75 | public string CreatorId |
76 | { | 76 | { |
77 | get | 77 | get |
78 | { | 78 | { |
79 | return m_creatorId; | 79 | return m_creatorId; |
80 | } | 80 | } |
81 | 81 | ||
82 | set | 82 | set |
83 | { | 83 | { |
84 | m_creatorId = value; | 84 | m_creatorId = value; |
85 | 85 | ||
86 | if ((m_creatorId == null) || !UUID.TryParse(m_creatorId, out m_creatorIdAsUuid)) | 86 | if ((m_creatorId == null) || !UUID.TryParse(m_creatorId, out m_creatorIdAsUuid)) |
87 | m_creatorIdAsUuid = UUID.Zero; | 87 | m_creatorIdAsUuid = UUID.Zero; |
88 | } | 88 | } |
@@ -92,7 +92,7 @@ namespace OpenSim.Framework | |||
92 | /// <value> | 92 | /// <value> |
93 | /// The CreatorId expressed as a UUID. | 93 | /// The CreatorId expressed as a UUID. |
94 | /// </value> | 94 | /// </value> |
95 | public UUID CreatorIdAsUuid | 95 | public UUID CreatorIdAsUuid |
96 | { | 96 | { |
97 | get | 97 | get |
98 | { | 98 | { |
@@ -161,13 +161,13 @@ namespace OpenSim.Framework | |||
161 | /// <value> | 161 | /// <value> |
162 | /// The description of the inventory item (must be less than 64 characters) | 162 | /// The description of the inventory item (must be less than 64 characters) |
163 | /// </value> | 163 | /// </value> |
164 | public string Description | 164 | public string Description |
165 | { | 165 | { |
166 | get | 166 | get |
167 | { | 167 | { |
168 | return m_description; | 168 | return m_description; |
169 | } | 169 | } |
170 | 170 | ||
171 | set | 171 | set |
172 | { | 172 | { |
173 | m_description = value; | 173 | m_description = value; |
@@ -178,13 +178,13 @@ namespace OpenSim.Framework | |||
178 | /// <value> | 178 | /// <value> |
179 | /// | 179 | /// |
180 | /// </value> | 180 | /// </value> |
181 | public uint NextPermissions | 181 | public uint NextPermissions |
182 | { | 182 | { |
183 | get | 183 | get |
184 | { | 184 | { |
185 | return m_nextPermissions; | 185 | return m_nextPermissions; |
186 | } | 186 | } |
187 | 187 | ||
188 | set | 188 | set |
189 | { | 189 | { |
190 | m_nextPermissions = value; | 190 | m_nextPermissions = value; |
@@ -195,13 +195,13 @@ namespace OpenSim.Framework | |||
195 | /// <value> | 195 | /// <value> |
196 | /// A mask containing permissions for the current owner (cannot be enforced) | 196 | /// A mask containing permissions for the current owner (cannot be enforced) |
197 | /// </value> | 197 | /// </value> |
198 | public uint CurrentPermissions | 198 | public uint CurrentPermissions |
199 | { | 199 | { |
200 | get | 200 | get |
201 | { | 201 | { |
202 | return m_currentPermissions; | 202 | return m_currentPermissions; |
203 | } | 203 | } |
204 | 204 | ||
205 | set | 205 | set |
206 | { | 206 | { |
207 | m_currentPermissions = value; | 207 | m_currentPermissions = value; |
@@ -212,13 +212,13 @@ namespace OpenSim.Framework | |||
212 | /// <value> | 212 | /// <value> |
213 | /// | 213 | /// |
214 | /// </value> | 214 | /// </value> |
215 | public uint BasePermissions | 215 | public uint BasePermissions |
216 | { | 216 | { |
217 | get | 217 | get |
218 | { | 218 | { |
219 | return m_basePermissions; | 219 | return m_basePermissions; |
220 | } | 220 | } |
221 | 221 | ||
222 | set | 222 | set |
223 | { | 223 | { |
224 | m_basePermissions = value; | 224 | m_basePermissions = value; |
@@ -229,13 +229,13 @@ namespace OpenSim.Framework | |||
229 | /// <value> | 229 | /// <value> |
230 | /// | 230 | /// |
231 | /// </value> | 231 | /// </value> |
232 | public uint EveryOnePermissions | 232 | public uint EveryOnePermissions |
233 | { | 233 | { |
234 | get | 234 | get |
235 | { | 235 | { |
236 | return m_everyonePermissions; | 236 | return m_everyonePermissions; |
237 | } | 237 | } |
238 | 238 | ||
239 | set | 239 | set |
240 | { | 240 | { |
241 | m_everyonePermissions = value; | 241 | m_everyonePermissions = value; |
@@ -246,13 +246,13 @@ namespace OpenSim.Framework | |||
246 | /// <value> | 246 | /// <value> |
247 | /// | 247 | /// |
248 | /// </value> | 248 | /// </value> |
249 | public uint GroupPermissions | 249 | public uint GroupPermissions |
250 | { | 250 | { |
251 | get | 251 | get |
252 | { | 252 | { |
253 | return m_groupPermissions; | 253 | return m_groupPermissions; |
254 | } | 254 | } |
255 | 255 | ||
256 | set | 256 | set |
257 | { | 257 | { |
258 | m_groupPermissions = value; | 258 | m_groupPermissions = value; |
@@ -263,13 +263,13 @@ namespace OpenSim.Framework | |||
263 | /// <value> | 263 | /// <value> |
264 | /// This is an enumerated value determining the type of asset (eg Notecard, Sound, Object, etc) | 264 | /// This is an enumerated value determining the type of asset (eg Notecard, Sound, Object, etc) |
265 | /// </value> | 265 | /// </value> |
266 | public int AssetType | 266 | public int AssetType |
267 | { | 267 | { |
268 | get | 268 | get |
269 | { | 269 | { |
270 | return m_assetType; | 270 | return m_assetType; |
271 | } | 271 | } |
272 | 272 | ||
273 | set | 273 | set |
274 | { | 274 | { |
275 | m_assetType = value; | 275 | m_assetType = value; |
@@ -280,13 +280,13 @@ namespace OpenSim.Framework | |||
280 | /// <value> | 280 | /// <value> |
281 | /// The UUID of the associated asset on the asset server | 281 | /// The UUID of the associated asset on the asset server |
282 | /// </value> | 282 | /// </value> |
283 | public UUID AssetID | 283 | public UUID AssetID |
284 | { | 284 | { |
285 | get | 285 | get |
286 | { | 286 | { |
287 | return m_assetID; | 287 | return m_assetID; |
288 | } | 288 | } |
289 | 289 | ||
290 | set | 290 | set |
291 | { | 291 | { |
292 | m_assetID = value; | 292 | m_assetID = value; |
@@ -297,13 +297,13 @@ namespace OpenSim.Framework | |||
297 | /// <value> | 297 | /// <value> |
298 | /// | 298 | /// |
299 | /// </value> | 299 | /// </value> |
300 | public UUID GroupID | 300 | public UUID GroupID |
301 | { | 301 | { |
302 | get | 302 | get |
303 | { | 303 | { |
304 | return m_groupID; | 304 | return m_groupID; |
305 | } | 305 | } |
306 | 306 | ||
307 | set | 307 | set |
308 | { | 308 | { |
309 | m_groupID = value; | 309 | m_groupID = value; |
@@ -314,13 +314,13 @@ namespace OpenSim.Framework | |||
314 | /// <value> | 314 | /// <value> |
315 | /// | 315 | /// |
316 | /// </value> | 316 | /// </value> |
317 | public bool GroupOwned | 317 | public bool GroupOwned |
318 | { | 318 | { |
319 | get | 319 | get |
320 | { | 320 | { |
321 | return m_groupOwned; | 321 | return m_groupOwned; |
322 | } | 322 | } |
323 | 323 | ||
324 | set | 324 | set |
325 | { | 325 | { |
326 | m_groupOwned = value; | 326 | m_groupOwned = value; |
@@ -331,13 +331,13 @@ namespace OpenSim.Framework | |||
331 | /// <value> | 331 | /// <value> |
332 | /// | 332 | /// |
333 | /// </value> | 333 | /// </value> |
334 | public int SalePrice | 334 | public int SalePrice |
335 | { | 335 | { |
336 | get | 336 | get |
337 | { | 337 | { |
338 | return m_salePrice; | 338 | return m_salePrice; |
339 | } | 339 | } |
340 | 340 | ||
341 | set | 341 | set |
342 | { | 342 | { |
343 | m_salePrice = value; | 343 | m_salePrice = value; |
@@ -348,13 +348,13 @@ namespace OpenSim.Framework | |||
348 | /// <value> | 348 | /// <value> |
349 | /// | 349 | /// |
350 | /// </value> | 350 | /// </value> |
351 | public byte SaleType | 351 | public byte SaleType |
352 | { | 352 | { |
353 | get | 353 | get |
354 | { | 354 | { |
355 | return m_saleType; | 355 | return m_saleType; |
356 | } | 356 | } |
357 | 357 | ||
358 | set | 358 | set |
359 | { | 359 | { |
360 | m_saleType = value; | 360 | m_saleType = value; |
@@ -365,13 +365,13 @@ namespace OpenSim.Framework | |||
365 | /// <value> | 365 | /// <value> |
366 | /// | 366 | /// |
367 | /// </value> | 367 | /// </value> |
368 | public uint Flags | 368 | public uint Flags |
369 | { | 369 | { |
370 | get | 370 | get |
371 | { | 371 | { |
372 | return m_flags; | 372 | return m_flags; |
373 | } | 373 | } |
374 | 374 | ||
375 | set | 375 | set |
376 | { | 376 | { |
377 | m_flags = value; | 377 | m_flags = value; |
@@ -382,13 +382,13 @@ namespace OpenSim.Framework | |||
382 | /// <value> | 382 | /// <value> |
383 | /// | 383 | /// |
384 | /// </value> | 384 | /// </value> |
385 | public int CreationDate | 385 | public int CreationDate |
386 | { | 386 | { |
387 | get | 387 | get |
388 | { | 388 | { |
389 | return m_creationDate; | 389 | return m_creationDate; |
390 | } | 390 | } |
391 | 391 | ||
392 | set | 392 | set |
393 | { | 393 | { |
394 | m_creationDate = value; | 394 | m_creationDate = value; |