mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Added a method to access a named folder in a users inventory, to the inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider]
This commit is contained in:
@@ -88,5 +88,13 @@ namespace OpenSim.Framework.Communications
|
||||
/// <param name="userID"></param>
|
||||
/// <returns></returns>
|
||||
List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID);
|
||||
|
||||
/// <summary>
|
||||
/// Returns the named folder in that users inventory, returns null if folder is not found.
|
||||
/// </summary>
|
||||
/// <param name="userID"></param>
|
||||
/// <param name="folderName"></param>
|
||||
/// <returns></returns>
|
||||
InventoryFolderBase RequestNamedFolder(LLUUID userID, string folderName);
|
||||
}
|
||||
}
|
||||
@@ -140,6 +140,12 @@ namespace OpenSim.Framework.Communications
|
||||
return RequestUsersRoot(userID);
|
||||
}
|
||||
|
||||
// See IInventoryServices
|
||||
public virtual InventoryFolderBase RequestNamedFolder(LLUUID userID, string folderName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// See IInventoryServices
|
||||
public void CreateNewUserInventory(LLUUID user)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user