aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-26 21:06:51 +0000
committerTeravus Ovares2007-12-26 21:06:51 +0000
commitc7fc0dbeb7a88bae1617222f119cc13308c3ffd9 (patch)
treed6667218fdd04f0b076005f0968b09c4ef8f27e2 /OpenSim/Framework/Communications
parent* Patch from Charlie0 to the OpenSim/Tools/OpenSim.GUI application to include... (diff)
downloadopensim-SC_OLD-c7fc0dbeb7a88bae1617222f119cc13308c3ffd9.zip
opensim-SC_OLD-c7fc0dbeb7a88bae1617222f119cc13308c3ffd9.tar.gz
opensim-SC_OLD-c7fc0dbeb7a88bae1617222f119cc13308c3ffd9.tar.bz2
opensim-SC_OLD-c7fc0dbeb7a88bae1617222f119cc13308c3ffd9.tar.xz
* Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
* Deletes the solution file from OpenSim.Gui
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs107
1 files changed, 103 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index 1e13031..6384408 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -241,8 +241,71 @@ namespace OpenSim.Framework.Communications
241 folder.parentID = rootFolder; 241 folder.parentID = rootFolder;
242 folder.agentID = user; 242 folder.agentID = user;
243 folder.folderID = LLUUID.Random(); 243 folder.folderID = LLUUID.Random();
244 folder.name = "Textures"; 244 folder.name = "Accessories";
245 folder.type = 0; 245 folder.type = 8;
246 folder.version = 1;
247 Folders.Add(folder.folderID, folder);
248
249 folder = new InventoryFolderBase();
250 folder.parentID = rootFolder;
251 folder.agentID = user;
252 folder.folderID = LLUUID.Random();
253 folder.name = "Animations";
254 folder.type = 20;
255 folder.version = 1;
256 Folders.Add(folder.folderID, folder);
257
258 folder = new InventoryFolderBase();
259 folder.parentID = rootFolder;
260 folder.agentID = user;
261 folder.folderID = LLUUID.Random();
262 folder.name = "BodyParts";
263 folder.type = 13;
264 folder.version = 1;
265 Folders.Add(folder.folderID, folder);
266
267 folder = new InventoryFolderBase();
268 folder.parentID = rootFolder;
269 folder.agentID = user;
270 folder.folderID = LLUUID.Random();
271 folder.name = "Clothing";
272 folder.type = 5;
273 folder.version = 1;
274 Folders.Add(folder.folderID, folder);
275
276 folder = new InventoryFolderBase();
277 folder.parentID = rootFolder;
278 folder.agentID = user;
279 folder.folderID = LLUUID.Random();
280 folder.name = "Gestures";
281 folder.type = 21;
282 folder.version = 1;
283 Folders.Add(folder.folderID, folder);
284
285 folder = new InventoryFolderBase();
286 folder.parentID = rootFolder;
287 folder.agentID = user;
288 folder.folderID = LLUUID.Random();
289 folder.name = "Landmarks";
290 folder.type = 3;
291 folder.version = 1;
292 Folders.Add(folder.folderID, folder);
293
294 folder = new InventoryFolderBase();
295 folder.parentID = rootFolder;
296 folder.agentID = user;
297 folder.folderID = LLUUID.Random();
298 folder.name = "Lost And Found";
299 folder.type = 3;
300 folder.version = 1;
301 Folders.Add(folder.folderID, folder);
302
303 folder = new InventoryFolderBase();
304 folder.parentID = rootFolder;
305 folder.agentID = user;
306 folder.folderID = LLUUID.Random();
307 folder.name = "Notecards";
308 folder.type = 7;
246 folder.version = 1; 309 folder.version = 1;
247 Folders.Add(folder.folderID, folder); 310 Folders.Add(folder.folderID, folder);
248 311
@@ -259,8 +322,44 @@ namespace OpenSim.Framework.Communications
259 folder.parentID = rootFolder; 322 folder.parentID = rootFolder;
260 folder.agentID = user; 323 folder.agentID = user;
261 folder.folderID = LLUUID.Random(); 324 folder.folderID = LLUUID.Random();
262 folder.name = "Clothes"; 325 folder.name = "Photo Album";
263 folder.type = 5; 326 folder.type = 15;
327 folder.version = 1;
328 Folders.Add(folder.folderID, folder);
329
330 folder = new InventoryFolderBase();
331 folder.parentID = rootFolder;
332 folder.agentID = user;
333 folder.folderID = LLUUID.Random();
334 folder.name = "Scripts";
335 folder.type = 10;
336 folder.version = 1;
337 Folders.Add(folder.folderID, folder);
338
339 folder = new InventoryFolderBase();
340 folder.parentID = rootFolder;
341 folder.agentID = user;
342 folder.folderID = LLUUID.Random();
343 folder.name = "Sounds";
344 folder.type = 1;
345 folder.version = 1;
346 Folders.Add(folder.folderID, folder);
347
348 folder = new InventoryFolderBase();
349 folder.parentID = rootFolder;
350 folder.agentID = user;
351 folder.folderID = LLUUID.Random();
352 folder.name = "Textures";
353 folder.type = 0;
354 folder.version = 1;
355 Folders.Add(folder.folderID, folder);
356
357 folder = new InventoryFolderBase();
358 folder.parentID = rootFolder;
359 folder.agentID = user;
360 folder.folderID = LLUUID.Random();
361 folder.name = "Trash";
362 folder.type = 14;
264 folder.version = 1; 363 folder.version = 1;
265 Folders.Add(folder.folderID, folder); 364 Folders.Add(folder.folderID, folder);
266 } 365 }