Add a QueryItem method to the inventory subsystem. Currently implemented for

MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
This commit is contained in:
Melanie Thielker
2009-03-21 17:46:58 +00:00
parent 2d387c25b8
commit 1121a214b9
11 changed files with 115 additions and 0 deletions

View File

@@ -115,6 +115,11 @@ namespace OpenSim.Tests.Common.Mock
public void updateInventoryItem(InventoryItemBase item) {}
public void deleteInventoryItem(UUID item) {}
public InventoryItemBase queryInventoryItem(UUID item)
{
return null;
}
public void addInventoryFolder(InventoryFolderBase folder)
{
m_folders[folder.ID] = folder;