diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IEntityInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index fd43923..ae2e844 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -29,6 +29,7 @@ using System.Collections.Generic; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Region.Framework.Scenes; | ||
32 | 33 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 34 | namespace OpenSim.Region.Framework.Interfaces |
34 | { | 35 | { |
@@ -153,6 +154,17 @@ namespace OpenSim.Region.Framework.Interfaces | |||
153 | /// If no inventory item has that name then an empty list is returned. | 154 | /// If no inventory item has that name then an empty list is returned. |
154 | /// </returns> | 155 | /// </returns> |
155 | IList<TaskInventoryItem> GetInventoryItems(string name); | 156 | IList<TaskInventoryItem> GetInventoryItems(string name); |
157 | |||
158 | /// <summary> | ||
159 | /// Get the scene object referenced by an inventory item. | ||
160 | /// </summary> | ||
161 | /// | ||
162 | /// This is returned in a 'rez ready' state. That is, name, description, permissions and other details have | ||
163 | /// been adjusted to reflect the part and item from which it originates. | ||
164 | /// | ||
165 | /// <param name="item"></param> | ||
166 | /// <returns>The scene object. Null if the scene object asset couldn't be found</returns> | ||
167 | SceneObjectGroup GetRezReadySceneObject(TaskInventoryItem item); | ||
156 | 168 | ||
157 | /// <summary> | 169 | /// <summary> |
158 | /// Update an existing inventory item. | 170 | /// Update an existing inventory item. |