aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalInventoryService.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-07 23:27:05 +0000
committerSean Dague2008-04-07 23:27:05 +0000
commit5ee75998ce4d941efd937848d28f3a4dac6ba6cc (patch)
treef29a100cb8ab3715c82f0aec4fee9f968f210405 /OpenSim/Region/Communications/Local/LocalInventoryService.cs
parentRefactor InventoryItemBase to do the following: (diff)
downloadopensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.zip
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.gz
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.bz2
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.xz
more refactoring, this time on InventoryFolderBase
* wrap attributes in properties * clean up names a little bit * clean up name styles
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalInventoryService.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
index df735a9..bb3db9d 100644
--- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs
+++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Region.Communications.Local
49 //need to make sure we send root folder first 49 //need to make sure we send root folder first
50 foreach (InventoryFolderBase folder in folders) 50 foreach (InventoryFolderBase folder in folders)
51 { 51 {
52 if (folder.parentID == LLUUID.Zero) 52 if (folder.ParentID == LLUUID.Zero)
53 { 53 {
54 rootFolder = RequestInventoryFolder(userID, folder, folderCallBack, itemCallBack); 54 rootFolder = RequestInventoryFolder(userID, folder, folderCallBack, itemCallBack);
55 } 55 }
@@ -59,7 +59,7 @@ namespace OpenSim.Region.Communications.Local
59 { 59 {
60 foreach (InventoryFolderBase folder in folders) 60 foreach (InventoryFolderBase folder in folders)
61 { 61 {
62 if (folder.folderID != rootFolder.folderID) 62 if (folder.ID != rootFolder.ID)
63 { 63 {
64 RequestInventoryFolder(userID, folder, folderCallBack, itemCallBack); 64 RequestInventoryFolder(userID, folder, folderCallBack, itemCallBack);
65 } 65 }
@@ -112,7 +112,7 @@ namespace OpenSim.Region.Communications.Local
112 InventoryFolderImpl newFolder = new InventoryFolderImpl(folder); 112 InventoryFolderImpl newFolder = new InventoryFolderImpl(folder);
113 folderCallBack(userID, newFolder); 113 folderCallBack(userID, newFolder);
114 114
115 List<InventoryItemBase> items = RequestFolderItems(newFolder.folderID); 115 List<InventoryItemBase> items = RequestFolderItems(newFolder.ID);
116 foreach (InventoryItemBase item in items) 116 foreach (InventoryItemBase item in items)
117 { 117 {
118 itemCallBack(userID, item); 118 itemCallBack(userID, item);