From ae2174d8f526b225c3cccf551f1a9f01d6569203 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 29 Jan 2010 18:11:53 +0000
Subject: Add method to get all items with the same name from a particular prim
Extend load oar test to check loading of a sound item
---
OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs
index eeb5102..fa9bf19 100644
--- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs
+++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs
@@ -71,7 +71,8 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Start all the scripts contained in this entity's inventory
///
- void CreateScriptInstances(int startParam, bool postOnRez, string engine, int stateSource);
+ void CreateScriptInstances(int startParam, bool postOnRez, string engine, int stateSource);
+
ArrayList GetScriptErrors(UUID itemID);
///
@@ -143,6 +144,16 @@ namespace OpenSim.Region.Framework.Interfaces
TaskInventoryItem GetInventoryItem(UUID itemId);
///
+ /// Get inventory items by name.
+ ///
+ ///
+ ///
+ /// A list of inventory items with that name.
+ /// If no inventory item has that name then an empty list is returned.
+ ///
+ IList GetInventoryItems(string name);
+
+ ///
/// Update an existing inventory item.
///
/// The updated item. An item with the same id must already exist
--
cgit v1.1