aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/InventoryServiceBase.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-08 23:26:31 +0000
committerSean Dague2008-04-08 23:26:31 +0000
commita6d27e09295cd0160d3439fbfa6598f08c431608 (patch)
treefc416f3da7af6fd14a06d24a1a43e924c458853e /OpenSim/Framework/Communications/InventoryServiceBase.cs
parentadded migration script for SqliteAssets (diff)
downloadopensim-SC-a6d27e09295cd0160d3439fbfa6598f08c431608.zip
opensim-SC-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.gz
opensim-SC-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.bz2
opensim-SC-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.xz
further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index 1250f53..97d963d 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -240,7 +240,7 @@ namespace OpenSim.Framework.Communications
240 InventoryFolderBase folder = new InventoryFolderBase(); 240 InventoryFolderBase folder = new InventoryFolderBase();
241 241
242 folder.ParentID = LLUUID.Zero; 242 folder.ParentID = LLUUID.Zero;
243 folder.AgentID = user; 243 folder.Owner = user;
244 folder.ID = LLUUID.Random(); 244 folder.ID = LLUUID.Random();
245 folder.Name = "My Inventory"; 245 folder.Name = "My Inventory";
246 folder.Type = (short)AssetType.Folder; 246 folder.Type = (short)AssetType.Folder;
@@ -251,7 +251,7 @@ namespace OpenSim.Framework.Communications
251 251
252 folder = new InventoryFolderBase(); 252 folder = new InventoryFolderBase();
253 folder.ParentID = rootFolder; 253 folder.ParentID = rootFolder;
254 folder.AgentID = user; 254 folder.Owner = user;
255 folder.ID = LLUUID.Random(); 255 folder.ID = LLUUID.Random();
256 folder.Name = "Animations"; 256 folder.Name = "Animations";
257 folder.Type = (short)AssetType.Animation; 257 folder.Type = (short)AssetType.Animation;
@@ -260,7 +260,7 @@ namespace OpenSim.Framework.Communications
260 260
261 folder = new InventoryFolderBase(); 261 folder = new InventoryFolderBase();
262 folder.ParentID = rootFolder; 262 folder.ParentID = rootFolder;
263 folder.AgentID = user; 263 folder.Owner = user;
264 folder.ID = LLUUID.Random(); 264 folder.ID = LLUUID.Random();
265 folder.Name = "Body Parts"; 265 folder.Name = "Body Parts";
266 folder.Type = (short)AssetType.Bodypart; 266 folder.Type = (short)AssetType.Bodypart;
@@ -269,7 +269,7 @@ namespace OpenSim.Framework.Communications
269 269
270 folder = new InventoryFolderBase(); 270 folder = new InventoryFolderBase();
271 folder.ParentID = rootFolder; 271 folder.ParentID = rootFolder;
272 folder.AgentID = user; 272 folder.Owner = user;
273 folder.ID = LLUUID.Random(); 273 folder.ID = LLUUID.Random();
274 folder.Name = "Calling Cards"; 274 folder.Name = "Calling Cards";
275 folder.Type = (short)AssetType.CallingCard; 275 folder.Type = (short)AssetType.CallingCard;
@@ -278,7 +278,7 @@ namespace OpenSim.Framework.Communications
278 278
279 folder = new InventoryFolderBase(); 279 folder = new InventoryFolderBase();
280 folder.ParentID = rootFolder; 280 folder.ParentID = rootFolder;
281 folder.AgentID = user; 281 folder.Owner = user;
282 folder.ID = LLUUID.Random(); 282 folder.ID = LLUUID.Random();
283 folder.Name = "Clothing"; 283 folder.Name = "Clothing";
284 folder.Type = (short)AssetType.Clothing; 284 folder.Type = (short)AssetType.Clothing;
@@ -287,7 +287,7 @@ namespace OpenSim.Framework.Communications
287 287
288 folder = new InventoryFolderBase(); 288 folder = new InventoryFolderBase();
289 folder.ParentID = rootFolder; 289 folder.ParentID = rootFolder;
290 folder.AgentID = user; 290 folder.Owner = user;
291 folder.ID = LLUUID.Random(); 291 folder.ID = LLUUID.Random();
292 folder.Name = "Gestures"; 292 folder.Name = "Gestures";
293 folder.Type = (short)AssetType.Gesture; 293 folder.Type = (short)AssetType.Gesture;
@@ -296,7 +296,7 @@ namespace OpenSim.Framework.Communications
296 296
297 folder = new InventoryFolderBase(); 297 folder = new InventoryFolderBase();
298 folder.ParentID = rootFolder; 298 folder.ParentID = rootFolder;
299 folder.AgentID = user; 299 folder.Owner = user;
300 folder.ID = LLUUID.Random(); 300 folder.ID = LLUUID.Random();
301 folder.Name = "Landmarks"; 301 folder.Name = "Landmarks";
302 folder.Type = (short)AssetType.Landmark; 302 folder.Type = (short)AssetType.Landmark;
@@ -305,7 +305,7 @@ namespace OpenSim.Framework.Communications
305 305
306 folder = new InventoryFolderBase(); 306 folder = new InventoryFolderBase();
307 folder.ParentID = rootFolder; 307 folder.ParentID = rootFolder;
308 folder.AgentID = user; 308 folder.Owner = user;
309 folder.ID = LLUUID.Random(); 309 folder.ID = LLUUID.Random();
310 folder.Name = "Lost And Found"; 310 folder.Name = "Lost And Found";
311 folder.Type = (short)AssetType.LostAndFoundFolder; 311 folder.Type = (short)AssetType.LostAndFoundFolder;
@@ -314,7 +314,7 @@ namespace OpenSim.Framework.Communications
314 314
315 folder = new InventoryFolderBase(); 315 folder = new InventoryFolderBase();
316 folder.ParentID = rootFolder; 316 folder.ParentID = rootFolder;
317 folder.AgentID = user; 317 folder.Owner = user;
318 folder.ID = LLUUID.Random(); 318 folder.ID = LLUUID.Random();
319 folder.Name = "Notecards"; 319 folder.Name = "Notecards";
320 folder.Type = (short)AssetType.Notecard; 320 folder.Type = (short)AssetType.Notecard;
@@ -323,7 +323,7 @@ namespace OpenSim.Framework.Communications
323 323
324 folder = new InventoryFolderBase(); 324 folder = new InventoryFolderBase();
325 folder.ParentID = rootFolder; 325 folder.ParentID = rootFolder;
326 folder.AgentID = user; 326 folder.Owner = user;
327 folder.ID = LLUUID.Random(); 327 folder.ID = LLUUID.Random();
328 folder.Name = "Objects"; 328 folder.Name = "Objects";
329 folder.Type = (short)AssetType.Object; 329 folder.Type = (short)AssetType.Object;
@@ -332,7 +332,7 @@ namespace OpenSim.Framework.Communications
332 332
333 folder = new InventoryFolderBase(); 333 folder = new InventoryFolderBase();
334 folder.ParentID = rootFolder; 334 folder.ParentID = rootFolder;
335 folder.AgentID = user; 335 folder.Owner = user;
336 folder.ID = LLUUID.Random(); 336 folder.ID = LLUUID.Random();
337 folder.Name = "Photo Album"; 337 folder.Name = "Photo Album";
338 folder.Type = (short)AssetType.SnapshotFolder; 338 folder.Type = (short)AssetType.SnapshotFolder;
@@ -341,7 +341,7 @@ namespace OpenSim.Framework.Communications
341 341
342 folder = new InventoryFolderBase(); 342 folder = new InventoryFolderBase();
343 folder.ParentID = rootFolder; 343 folder.ParentID = rootFolder;
344 folder.AgentID = user; 344 folder.Owner = user;
345 folder.ID = LLUUID.Random(); 345 folder.ID = LLUUID.Random();
346 folder.Name = "Scripts"; 346 folder.Name = "Scripts";
347 folder.Type = (short)AssetType.LSLText; 347 folder.Type = (short)AssetType.LSLText;
@@ -350,7 +350,7 @@ namespace OpenSim.Framework.Communications
350 350
351 folder = new InventoryFolderBase(); 351 folder = new InventoryFolderBase();
352 folder.ParentID = rootFolder; 352 folder.ParentID = rootFolder;
353 folder.AgentID = user; 353 folder.Owner = user;
354 folder.ID = LLUUID.Random(); 354 folder.ID = LLUUID.Random();
355 folder.Name = "Sounds"; 355 folder.Name = "Sounds";
356 folder.Type = (short)AssetType.Sound; 356 folder.Type = (short)AssetType.Sound;
@@ -359,7 +359,7 @@ namespace OpenSim.Framework.Communications
359 359
360 folder = new InventoryFolderBase(); 360 folder = new InventoryFolderBase();
361 folder.ParentID = rootFolder; 361 folder.ParentID = rootFolder;
362 folder.AgentID = user; 362 folder.Owner = user;
363 folder.ID = LLUUID.Random(); 363 folder.ID = LLUUID.Random();
364 folder.Name = "Textures"; 364 folder.Name = "Textures";
365 folder.Type = (short)AssetType.Texture; 365 folder.Type = (short)AssetType.Texture;
@@ -368,7 +368,7 @@ namespace OpenSim.Framework.Communications
368 368
369 folder = new InventoryFolderBase(); 369 folder = new InventoryFolderBase();
370 folder.ParentID = rootFolder; 370 folder.ParentID = rootFolder;
371 folder.AgentID = user; 371 folder.Owner = user;
372 folder.ID = LLUUID.Random(); 372 folder.ID = LLUUID.Random();
373 folder.Name = "Trash"; 373 folder.Name = "Trash";
374 folder.Type = (short)AssetType.TrashFolder; 374 folder.Type = (short)AssetType.TrashFolder;