From ded704ef1f3e78c3915278b145f7eef33d5b17d2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 10 Apr 2008 15:22:01 +0000 Subject: * Minor inventory message cleanup and documentation --- OpenSim/Framework/Communications/InventoryServiceBase.cs | 7 ++++--- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 11 ++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 97d963d..0d19932 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -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 { diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index f08c1e5..ffff89f 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -89,7 +89,11 @@ namespace OpenSim.Grid.InventoryServer return allFolders; } - + /// + /// Return a user's entire inventory + /// + /// + /// public InventoryCollection GetUserInventory(Guid rawUserID) { LLUUID userID = new LLUUID(rawUserID); @@ -134,6 +138,11 @@ namespace OpenSim.Grid.InventoryServer return GetInventorySkeleton(userID); } + /// + /// Create an inventory for the given user. + /// + /// + /// public bool CreateUsersInventory(Guid rawUserID) { LLUUID userID = new LLUUID(rawUserID); -- cgit v1.1