diff options
author | Melanie Thielker | 2009-03-21 17:46:58 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-21 17:46:58 +0000 |
commit | 1121a214b9258487dae0d84dad1a0b495d2f80bd (patch) | |
tree | 10576cab4d44bbe39f4f759f8ffac68530e40055 /OpenSim/Framework/Communications/IInventoryServices.cs | |
parent | Move a check for null PhysActor in applyImpulse so that attachments can move ... (diff) | |
download | opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.zip opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.gz opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.bz2 opensim-SC-1121a214b9258487dae0d84dad1a0b495d2f80bd.tar.xz |
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.
Diffstat (limited to 'OpenSim/Framework/Communications/IInventoryServices.cs')
-rw-r--r-- | OpenSim/Framework/Communications/IInventoryServices.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/IInventoryServices.cs b/OpenSim/Framework/Communications/IInventoryServices.cs index aead3be..fc9d8af 100644 --- a/OpenSim/Framework/Communications/IInventoryServices.cs +++ b/OpenSim/Framework/Communications/IInventoryServices.cs | |||
@@ -105,6 +105,14 @@ namespace OpenSim.Framework.Communications | |||
105 | bool DeleteItem(InventoryItemBase item); | 105 | bool DeleteItem(InventoryItemBase item); |
106 | 106 | ||
107 | /// <summary> | 107 | /// <summary> |
108 | /// Query the server for an item that may have been added by | ||
109 | /// another region | ||
110 | /// </summary> | ||
111 | /// <param name="item"></param> | ||
112 | /// <returns>true if the item was found in local cache</returns> | ||
113 | InventoryItemBase QueryItem(InventoryItemBase item); | ||
114 | |||
115 | /// <summary> | ||
108 | /// Does the given user have an inventory structure? | 116 | /// Does the given user have an inventory structure? |
109 | /// </summary> | 117 | /// </summary> |
110 | /// <param name="userID"></param> | 118 | /// <param name="userID"></param> |