* Minor inventory message cleanup and documentation

0.6.0-stable
Justin Clarke Casey 2008-04-10 15:22:01 +00:00
parent 55ac1c6dce
commit ded704ef1f
2 changed files with 14 additions and 4 deletions

View File

@ -141,9 +141,10 @@ namespace OpenSim.Framework.Communications
if (null != existingRootFolder)
{
m_log.ErrorFormat("[AGENT INVENTORY]: " +
"Did not create a new inventory for user {0} since they already have "
+ "a root inventory folder with id {1}", user, existingRootFolder);
m_log.ErrorFormat(
"[AGENT INVENTORY]: Did not create a new inventory for user {0} since they already have "
+ "a root inventory folder with id {1}",
user, existingRootFolder.ID);
}
else
{

View File

@ -89,7 +89,11 @@ namespace OpenSim.Grid.InventoryServer
return allFolders;
}
/// <summary>
/// Return a user's entire inventory
/// </summary>
/// <param name="rawUserID"></param>
/// <returns></returns>
public InventoryCollection GetUserInventory(Guid rawUserID)
{
LLUUID userID = new LLUUID(rawUserID);
@ -134,6 +138,11 @@ namespace OpenSim.Grid.InventoryServer
return GetInventorySkeleton(userID);
}
/// <summary>
/// Create an inventory for the given user.
/// </summary>
/// <param name="rawUserID"></param>
/// <returns></returns>
public bool CreateUsersInventory(Guid rawUserID)
{
LLUUID userID = new LLUUID(rawUserID);