* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does

This commit is contained in:
Justin Clarke Casey
2008-10-14 14:43:46 +00:00
parent 8ab50fe3ee
commit 3b9400bcea
11 changed files with 27 additions and 25 deletions

View File

@@ -114,7 +114,7 @@ namespace OpenSim.Region.Examples.SimpleModule
{
m_parts.Remove(part.UUID);
remoteClient.SendKiPrimitive(m_regionHandle, part.LocalId);
remoteClient.SendKillObject(m_regionHandle, part.LocalId);
remoteClient.AddMoney(1);
remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
}
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Examples.SimpleModule
{
m_parts.Remove(m_rootPart.UUID);
m_scene.DeleteSceneObject(this);
remoteClient.SendKiPrimitive(m_regionHandle, m_rootPart.LocalId);
remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
remoteClient.AddMoney(50);
remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
}

View File

@@ -356,7 +356,7 @@ namespace OpenSim.Region.Examples.SimpleModule
}
public virtual void SendKiPrimitive(ulong regionHandle, uint localID)
public virtual void SendKillObject(ulong regionHandle, uint localID)
{
}