* Just inserting some exploratory comments into inventory code

0.6.0-stable
Justin Clarke Casey 2008-03-18 18:19:44 +00:00
parent e5b9144282
commit 18f9f1410d
2 changed files with 16 additions and 0 deletions

View File

@ -133,6 +133,18 @@ namespace OpenSim.Framework.Communications.Cache
}
}
/// <summary>
/// Handle a client request to update the inventory folder
///
/// FIXME: We call add new inventory folder because in the data layer, we happen to use an SQL REPLACE
/// so this will work to rename an existing folder. Needless to say, to rely on this is very confusing,
/// and needs to be changed.
/// </summary>
/// <param name="remoteClient"></param>
/// <param name="folderID"></param>
/// <param name="type"></param>
/// <param name="name"></param>
/// <param name="parentID"></param>
public void HandleUpdateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort type, string name,
LLUUID parentID)
{

View File

@ -128,6 +128,7 @@ namespace OpenSim.Framework.Communications
}
}
// See IInventoryServices
public virtual bool HasInventoryForUser(LLUUID userID)
{
return false;
@ -200,6 +201,9 @@ namespace OpenSim.Framework.Communications
protected void AddFolder(InventoryFolderBase folder)
{
m_log.DebugFormat(
"[INVENTORY SERVICE BASE]: Adding folder {0}, {1} to {2}", folder.name, folder.folderID, folder.parentID);
foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins)
{
plugin.Value.addInventoryFolder(folder);