diff options
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/InventoryServiceBase.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 0528b91..dab6a16 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -172,6 +172,9 @@ namespace OpenSim.Framework.Communications | |||
172 | 172 | ||
173 | // See IInventoryServices | 173 | // See IInventoryServices |
174 | public abstract void AddNewInventoryItem(LLUUID userID, InventoryItemBase item); | 174 | public abstract void AddNewInventoryItem(LLUUID userID, InventoryItemBase item); |
175 | |||
176 | // See IInventoryServices | ||
177 | public abstract void UpdateInventoryItem(LLUUID userID, InventoryItemBase item); | ||
175 | 178 | ||
176 | // See IInventoryServices | 179 | // See IInventoryServices |
177 | public abstract void DeleteInventoryItem(LLUUID userID, InventoryItemBase item); | 180 | public abstract void DeleteInventoryItem(LLUUID userID, InventoryItemBase item); |
@@ -230,6 +233,14 @@ namespace OpenSim.Framework.Communications | |||
230 | } | 233 | } |
231 | } | 234 | } |
232 | 235 | ||
236 | protected void UpdateItem(InventoryItemBase item) | ||
237 | { | ||
238 | foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) | ||
239 | { | ||
240 | plugin.Value.updateInventoryItem(item); | ||
241 | } | ||
242 | } | ||
243 | |||
233 | protected void DeleteItem(InventoryItemBase item) | 244 | protected void DeleteItem(InventoryItemBase item) |
234 | { | 245 | { |
235 | foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) | 246 | foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) |