diff options
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/InventoryServiceBase.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 8068080..cad7989 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -278,6 +278,20 @@ namespace OpenSim.Framework.Communications | |||
278 | return true; | 278 | return true; |
279 | } | 279 | } |
280 | 280 | ||
281 | public virtual InventoryItemBase QueryItem(InventoryItemBase item) | ||
282 | { | ||
283 | foreach (IInventoryDataPlugin plugin in m_plugins) | ||
284 | { | ||
285 | InventoryItemBase result = plugin.queryInventoryItem(item.ID); | ||
286 | if (result != null) | ||
287 | { | ||
288 | return result; | ||
289 | } | ||
290 | } | ||
291 | |||
292 | return null; | ||
293 | } | ||
294 | |||
281 | /// <summary> | 295 | /// <summary> |
282 | /// Purge a folder of all items items and subfolders. | 296 | /// Purge a folder of all items items and subfolders. |
283 | /// | 297 | /// |