diff options
author | Justin Clarke Casey | 2008-10-14 14:43:46 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-14 14:43:46 +0000 |
commit | 3b9400bceaa9389489951b31322204bb26cab076 (patch) | |
tree | c818f31ef12f973e15502ec1d0eb8b8c7bd97738 /OpenSim/Region/ClientStack/LindenUDP | |
parent | * Make KillObjectPackets reliable (diff) | |
download | opensim-SC-3b9400bceaa9389489951b31322204bb26cab076.zip opensim-SC-3b9400bceaa9389489951b31322204bb26cab076.tar.gz opensim-SC-3b9400bceaa9389489951b31322204bb26cab076.tar.bz2 opensim-SC-3b9400bceaa9389489951b31322204bb26cab076.tar.xz |
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 23c6df4..e1c02e9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1545,12 +1545,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1545 | OutPacket(pc, ThrottleOutPacketType.Unknown); | 1545 | OutPacket(pc, ThrottleOutPacketType.Unknown); |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | /// <summary> | 1548 | public void SendKillObject(ulong regionHandle, uint localID) |
1549 | /// Tell the client that an object has been deleted | ||
1550 | /// </summary> | ||
1551 | /// <param name="regionHandle"></param> | ||
1552 | /// <param name="localID"></param> | ||
1553 | public void SendKiPrimitive(ulong regionHandle, uint localID) | ||
1554 | { | 1549 | { |
1555 | KillObjectPacket kill = (KillObjectPacket)PacketPool.Instance.GetPacket(PacketType.KillObject); | 1550 | KillObjectPacket kill = (KillObjectPacket)PacketPool.Instance.GetPacket(PacketType.KillObject); |
1556 | // TODO: don't create new blocks if recycling an old packet | 1551 | // TODO: don't create new blocks if recycling an old packet |
@@ -3688,7 +3683,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3688 | if (part == null) | 3683 | if (part == null) |
3689 | { | 3684 | { |
3690 | // It's a ghost! tell the client to delete it from view. | 3685 | // It's a ghost! tell the client to delete it from view. |
3691 | simClient.SendKiPrimitive(Scene.RegionInfo.RegionHandle, | 3686 | simClient.SendKillObject(Scene.RegionInfo.RegionHandle, |
3692 | localId); | 3687 | localId); |
3693 | } | 3688 | } |
3694 | else | 3689 | else |