aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-10-14 14:43:46 +0000
committerJustin Clarke Casey2008-10-14 14:43:46 +0000
commit3b9400bceaa9389489951b31322204bb26cab076 (patch)
treec818f31ef12f973e15502ec1d0eb8b8c7bd97738 /OpenSim/Region/Examples/SimpleModule
parent* Make KillObjectPackets reliable (diff)
downloadopensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.zip
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.gz
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.bz2
opensim-SC_OLD-3b9400bceaa9389489951b31322204bb26cab076.tar.xz
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/ComplexObject.cs4
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
index c8c4624..3b776e7 100644
--- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
+++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
@@ -114,7 +114,7 @@ namespace OpenSim.Region.Examples.SimpleModule
114 { 114 {
115 m_parts.Remove(part.UUID); 115 m_parts.Remove(part.UUID);
116 116
117 remoteClient.SendKiPrimitive(m_regionHandle, part.LocalId); 117 remoteClient.SendKillObject(m_regionHandle, part.LocalId);
118 remoteClient.AddMoney(1); 118 remoteClient.AddMoney(1);
119 remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); 119 remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
120 } 120 }
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Examples.SimpleModule
125 { 125 {
126 m_parts.Remove(m_rootPart.UUID); 126 m_parts.Remove(m_rootPart.UUID);
127 m_scene.DeleteSceneObject(this); 127 m_scene.DeleteSceneObject(this);
128 remoteClient.SendKiPrimitive(m_regionHandle, m_rootPart.LocalId); 128 remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
129 remoteClient.AddMoney(50); 129 remoteClient.AddMoney(50);
130 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); 130 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
131 } 131 }
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 61791fb..88de006 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -356,7 +356,7 @@ namespace OpenSim.Region.Examples.SimpleModule
356 356
357 } 357 }
358 358
359 public virtual void SendKiPrimitive(ulong regionHandle, uint localID) 359 public virtual void SendKillObject(ulong regionHandle, uint localID)
360 { 360 {
361 } 361 }
362 362