mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Another major overhaul of inventory downloading, this time pertaining to inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
This commit is contained in:
@@ -82,7 +82,7 @@ namespace OpenSim.Services.Interfaces
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <param name="folderIDs"></param>
|
||||
/// <returns>Inventory content. null if the request failed.</returns>
|
||||
/// <returns>Inventory content.</returns>
|
||||
InventoryCollection[] GetMultipleFoldersContent(UUID userID, UUID[] folderIDs);
|
||||
|
||||
/// <summary>
|
||||
@@ -163,6 +163,13 @@ namespace OpenSim.Services.Interfaces
|
||||
/// <returns>null if no item was found, otherwise the found item</returns>
|
||||
InventoryItemBase GetItem(InventoryItemBase item);
|
||||
|
||||
/// <summary>
|
||||
/// Get multiple items, given by their UUIDs
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
/// <returns>null if no item was found, otherwise the found item</returns>
|
||||
InventoryItemBase[] GetMultipleItems(UUID userID, UUID[] ids);
|
||||
|
||||
/// <summary>
|
||||
/// Get a folder, given by its UUID
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user