diff options
author | Melanie Thielker | 2008-08-24 16:41:23 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-24 16:41:23 +0000 |
commit | a7a385937ea0ba105b5547702639c373121e491e (patch) | |
tree | fa959998cf59984b794f25ac4329de7db012cba8 /OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |
parent | Mantis#2041. Thank you kindly, HomerHorwitz for a patch that: (diff) | |
download | opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.zip opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.gz opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.bz2 opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.xz |
Completing the item sale series, this one implements sell contents.
All item sale modes are now complete.
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 | } |