diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/ComplexObject.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs index e951bef..7a0ce51 100644 --- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections.Generic; | ||
28 | using OpenMetaverse; | 29 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
30 | using OpenSim.Region.Framework.Scenes; | 31 | using OpenSim.Region.Framework.Scenes; |
@@ -110,7 +111,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
110 | { | 111 | { |
111 | m_parts.Remove(part.UUID); | 112 | m_parts.Remove(part.UUID); |
112 | 113 | ||
113 | remoteClient.SendKillObject(m_regionHandle, part.LocalId); | 114 | remoteClient.SendKillObject(m_regionHandle, new List<uint>() { part.LocalId} ); |
114 | remoteClient.AddMoney(1); | 115 | remoteClient.AddMoney(1); |
115 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 116 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
116 | } | 117 | } |
@@ -121,7 +122,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
121 | { | 122 | { |
122 | m_parts.Remove(m_rootPart.UUID); | 123 | m_parts.Remove(m_rootPart.UUID); |
123 | m_scene.DeleteSceneObject(this, false); | 124 | m_scene.DeleteSceneObject(this, false); |
124 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); | 125 | remoteClient.SendKillObject(m_regionHandle, new List<uint>() { m_rootPart.LocalId }); |
125 | remoteClient.AddMoney(50); | 126 | remoteClient.AddMoney(50); |
126 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 127 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
127 | } | 128 | } |