diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 0ac20e2..eb6b9cc 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -743,5 +743,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
743 | } | 743 | } |
744 | return false; | 744 | return false; |
745 | } | 745 | } |
746 | |||
747 | public List<LLUUID> GetInventoryList() | ||
748 | { | ||
749 | List<LLUUID> ret = new List<LLUUID>(); | ||
750 | |||
751 | foreach (TaskInventoryItem item in m_taskInventory.Values) | ||
752 | ret.Add(item.ItemID); | ||
753 | |||
754 | return ret; | ||
755 | } | ||
746 | } | 756 | } |
747 | } | 757 | } |