* Minor inventory message cleanup and documentation
parent
55ac1c6dce
commit
ded704ef1f
|
@ -141,9 +141,10 @@ namespace OpenSim.Framework.Communications
|
||||||
|
|
||||||
if (null != existingRootFolder)
|
if (null != existingRootFolder)
|
||||||
{
|
{
|
||||||
m_log.ErrorFormat("[AGENT INVENTORY]: " +
|
m_log.ErrorFormat(
|
||||||
"Did not create a new inventory for user {0} since they already have "
|
"[AGENT INVENTORY]: Did not create a new inventory for user {0} since they already have "
|
||||||
+ "a root inventory folder with id {1}", user, existingRootFolder);
|
+ "a root inventory folder with id {1}",
|
||||||
|
user, existingRootFolder.ID);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -89,7 +89,11 @@ namespace OpenSim.Grid.InventoryServer
|
||||||
return allFolders;
|
return allFolders;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Return a user's entire inventory
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="rawUserID"></param>
|
||||||
|
/// <returns></returns>
|
||||||
public InventoryCollection GetUserInventory(Guid rawUserID)
|
public InventoryCollection GetUserInventory(Guid rawUserID)
|
||||||
{
|
{
|
||||||
LLUUID userID = new LLUUID(rawUserID);
|
LLUUID userID = new LLUUID(rawUserID);
|
||||||
|
@ -134,6 +138,11 @@ namespace OpenSim.Grid.InventoryServer
|
||||||
return GetInventorySkeleton(userID);
|
return GetInventorySkeleton(userID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Create an inventory for the given user.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="rawUserID"></param>
|
||||||
|
/// <returns></returns>
|
||||||
public bool CreateUsersInventory(Guid rawUserID)
|
public bool CreateUsersInventory(Guid rawUserID)
|
||||||
{
|
{
|
||||||
LLUUID userID = new LLUUID(rawUserID);
|
LLUUID userID = new LLUUID(rawUserID);
|
||||||
|
|
Loading…
Reference in New Issue