aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authordiva2009-03-19 21:43:35 +0000
committerdiva2009-03-19 21:43:35 +0000
commit2a76b2a417a704f4893e66347090f9f752114c1b (patch)
tree2382a5267d0c25b77dd11b3567726832ad6cc471 /OpenSim/Framework
parent* Remove compiler warnings (diff)
downloadopensim-SC_OLD-2a76b2a417a704f4893e66347090f9f752114c1b.zip
opensim-SC_OLD-2a76b2a417a704f4893e66347090f9f752114c1b.tar.gz
opensim-SC_OLD-2a76b2a417a704f4893e66347090f9f752114c1b.tar.bz2
opensim-SC_OLD-2a76b2a417a704f4893e66347090f9f752114c1b.tar.xz
Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs10
1 files changed, 10 insertions, 0 deletions
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
321 } 321 }
322 } 322 }
323 323
324 public InventoryItemBase GetInventoryItem(UUID itemID)
325 {
326 foreach (IInventoryDataPlugin plugin in m_plugins)
327 {
328 return plugin.getInventoryItem(itemID);
329 }
330
331 return null;
332 }
333
324 /// <summary> 334 /// <summary>
325 /// Used to create a new user inventory. 335 /// Used to create a new user inventory.
326 /// </summary> 336 /// </summary>