aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorlbsa712007-09-18 23:37:43 +0000
committerlbsa712007-09-18 23:37:43 +0000
commit3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc (patch)
tree360018ac8ddb994a9f6247bf1da59141913a4337 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
parent* Now at least we're not creating physActors for child agents. (diff)
downloadopensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.zip
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.gz
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.bz2
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.xz
* Moved SendLogoutPacket back to IClientAPI.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 009ddac..3bb7c03 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -677,5 +677,17 @@ namespace OpenSim.Region.ClientStack
677 shape.TextureEntry = ntex.ToBytes(); 677 shape.TextureEntry = ntex.ToBytes();
678 return shape; 678 return shape;
679 } 679 }
680
681 public void SendLogoutPacket()
682 {
683 LogoutReplyPacket logReply = new LogoutReplyPacket();
684 logReply.AgentData.AgentID = AgentId;
685 logReply.AgentData.SessionID = SessionId;
686 logReply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[1];
687 logReply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock();
688 logReply.InventoryData[0].ItemID = LLUUID.Zero;
689
690 OutPacket(logReply);
691 }
680 } 692 }
681} 693}