From 2a76b2a417a704f4893e66347090f9f752114c1b Mon Sep 17 00:00:00 2001 From: diva Date: Thu, 19 Mar 2009 21:43:35 +0000 Subject: Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function. --- OpenSim/Framework/Communications/InventoryServiceBase.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index de76415..8068080 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -321,6 +321,16 @@ namespace OpenSim.Framework.Communications } } + public InventoryItemBase GetInventoryItem(UUID itemID) + { + foreach (IInventoryDataPlugin plugin in m_plugins) + { + return plugin.getInventoryItem(itemID); + } + + return null; + } + /// /// Used to create a new user inventory. /// -- cgit v1.1