diff options
author | Justin Clarke Casey | 2008-03-18 18:19:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-18 18:19:44 +0000 |
commit | 18f9f1410d45dc0b81cd6b7527fea0db0661d203 (patch) | |
tree | c1482f3c572ac79ee01ed3b937e4ea4e90ed878d /OpenSim | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC_OLD-18f9f1410d45dc0b81cd6b7527fea0db0661d203.zip opensim-SC_OLD-18f9f1410d45dc0b81cd6b7527fea0db0661d203.tar.gz opensim-SC_OLD-18f9f1410d45dc0b81cd6b7527fea0db0661d203.tar.bz2 opensim-SC_OLD-18f9f1410d45dc0b81cd6b7527fea0db0661d203.tar.xz |
* Just inserting some exploratory comments into inventory code
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 12 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/InventoryServiceBase.cs | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index 17d9ae4..fcfb53a 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -133,6 +133,18 @@ namespace OpenSim.Framework.Communications.Cache | |||
133 | } | 133 | } |
134 | } | 134 | } |
135 | 135 | ||
136 | /// <summary> | ||
137 | /// Handle a client request to update the inventory folder | ||
138 | /// | ||
139 | /// FIXME: We call add new inventory folder because in the data layer, we happen to use an SQL REPLACE | ||
140 | /// so this will work to rename an existing folder. Needless to say, to rely on this is very confusing, | ||
141 | /// and needs to be changed. | ||
142 | /// </summary> | ||
143 | /// <param name="remoteClient"></param> | ||
144 | /// <param name="folderID"></param> | ||
145 | /// <param name="type"></param> | ||
146 | /// <param name="name"></param> | ||
147 | /// <param name="parentID"></param> | ||
136 | public void HandleUpdateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort type, string name, | 148 | public void HandleUpdateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort type, string name, |
137 | LLUUID parentID) | 149 | LLUUID parentID) |
138 | { | 150 | { |
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index d4a501c..c73d45c 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -128,6 +128,7 @@ namespace OpenSim.Framework.Communications | |||
128 | } | 128 | } |
129 | } | 129 | } |
130 | 130 | ||
131 | // See IInventoryServices | ||
131 | public virtual bool HasInventoryForUser(LLUUID userID) | 132 | public virtual bool HasInventoryForUser(LLUUID userID) |
132 | { | 133 | { |
133 | return false; | 134 | return false; |
@@ -200,6 +201,9 @@ namespace OpenSim.Framework.Communications | |||
200 | 201 | ||
201 | protected void AddFolder(InventoryFolderBase folder) | 202 | protected void AddFolder(InventoryFolderBase folder) |
202 | { | 203 | { |
204 | m_log.DebugFormat( | ||
205 | "[INVENTORY SERVICE BASE]: Adding folder {0}, {1} to {2}", folder.name, folder.folderID, folder.parentID); | ||
206 | |||
203 | foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) | 207 | foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) |
204 | { | 208 | { |
205 | plugin.Value.addInventoryFolder(folder); | 209 | plugin.Value.addInventoryFolder(folder); |