aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-25 22:46:49 +0100
committerJustin Clark-Casey (justincc)2010-08-25 22:46:49 +0100
commit46c6c35d4868e4ff538bdc2c65a7fade936c0ce1 (patch)
tree39dc65383f6294205882bb7e51df5c9a420e053a /OpenSim/Region/Framework/Interfaces
parentTypo (diff)
downloadopensim-SC_OLD-46c6c35d4868e4ff538bdc2c65a7fade936c0ce1.zip
opensim-SC_OLD-46c6c35d4868e4ff538bdc2c65a7fade936c0ce1.tar.gz
opensim-SC_OLD-46c6c35d4868e4ff538bdc2c65a7fade936c0ce1.tar.bz2
opensim-SC_OLD-46c6c35d4868e4ff538bdc2c65a7fade936c0ce1.tar.xz
refactor: Push item retrieval and fixing part of Scene.RezObject() down into SceneObjectPartInventory
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IEntityInventory.cs12
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;
29using System.Collections; 29using System.Collections;
30using OpenMetaverse; 30using OpenMetaverse;
31using OpenSim.Framework; 31using OpenSim.Framework;
32using OpenSim.Region.Framework.Scenes;
32 33
33namespace OpenSim.Region.Framework.Interfaces 34namespace 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.