mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used to create a new user inventory.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user