aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-26 00:36:01 +0100
committerJustin Clark-Casey (justincc)2012-05-26 00:36:01 +0100
commitff53add54dbc666e585b928ba51b4babb7441611 (patch)
treec9a507f596bd6f5a56a222e2ca8e36f7e43ce02c /OpenSim/Region/Framework/Interfaces/IEntityInventory.cs
parentMantis 6028 osAvatarStopAnimation not stopping animations via UUID (diff)
downloadopensim-SC_OLD-ff53add54dbc666e585b928ba51b4babb7441611.zip
opensim-SC_OLD-ff53add54dbc666e585b928ba51b4babb7441611.tar.gz
opensim-SC_OLD-ff53add54dbc666e585b928ba51b4babb7441611.tar.bz2
opensim-SC_OLD-ff53add54dbc666e585b928ba51b4babb7441611.tar.xz
refactor: replace LSL_Api.InventoryKey(string) largely with SceneObjectPartInventory.GetInventoryItem(string)
Also gets llStopAnimation() to call KeyOrName rather than duplicating logic.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IEntityInventory.cs13
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>