mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 14:56:19 +08:00
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user