diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index 30ed7d1..4370fcc 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -164,6 +164,19 @@ namespace OpenSim.Region.Framework.Interfaces | |||
164 | List<TaskInventoryItem> GetInventoryItems(); | 164 | List<TaskInventoryItem> GetInventoryItems(); |
165 | 165 | ||
166 | /// <summary> | 166 | /// <summary> |
167 | /// Gets an inventory item by name | ||
168 | /// </summary> | ||
169 | /// <remarks> | ||
170 | /// This method returns the first inventory item that matches the given name. In SL this is all you need | ||
171 | /// since each item in a prim inventory must have a unique name. | ||
172 | /// </remarks> | ||
173 | /// <param name='name'></param> | ||
174 | /// <returns> | ||
175 | /// The inventory item. Null if no such item was found. | ||
176 | /// </returns> | ||
177 | TaskInventoryItem GetInventoryItem(string name); | ||
178 | |||
179 | /// <summary> | ||
167 | /// Get inventory items by name. | 180 | /// Get inventory items by name. |
168 | /// </summary> | 181 | /// </summary> |
169 | /// <param name="name"></param> | 182 | /// <param name="name"></param> |