aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-30 11:51:34 +0000
committerMelanie Thielker2009-03-30 11:51:34 +0000
commitf88d755f9679b7b8e1880c76a452bc7344f9cb30 (patch)
tree08d0ba20919a613a209384bfe3419113e3409776 /OpenSim/Region/ClientStack/LindenUDP
parentThank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorld (diff)
downloadopensim-SC_OLD-f88d755f9679b7b8e1880c76a452bc7344f9cb30.zip
opensim-SC_OLD-f88d755f9679b7b8e1880c76a452bc7344f9cb30.tar.gz
opensim-SC_OLD-f88d755f9679b7b8e1880c76a452bc7344f9cb30.tar.bz2
opensim-SC_OLD-f88d755f9679b7b8e1880c76a452bc7344f9cb30.tar.xz
Add PickInfoReply packet.
Fixes Mantis #3324
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index ab643ae..62918a7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -8701,6 +8701,31 @@ namespace OpenSim.Region.ClientStack.LindenUDP
8701 OutPacket(muteListUpdate, ThrottleOutPacketType.Task); 8701 OutPacket(muteListUpdate, ThrottleOutPacketType.Task);
8702 } 8702 }
8703 8703
8704 public void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled)
8705 {
8706 PickInfoReplyPacket pickInfoReply = (PickInfoReplyPacket)PacketPool.Instance.GetPacket(PacketType.PickInfoReply);
8707
8708 pickInfoReply.AgentData = new PickInfoReplyPacket.AgentDataBlock();
8709 pickInfoReply.AgentData.AgentID = AgentId;
8710
8711 pickInfoReply.Data = new PickInfoReplyPacket.DataBlock();
8712 pickInfoReply.Data.PickID = pickID;
8713 pickInfoReply.Data.CreatorID = creatorID;
8714 pickInfoReply.Data.TopPick = topPick;
8715 pickInfoReply.Data.ParcelID = parcelID;
8716 pickInfoReply.Data.Name = Utils.StringToBytes(name);
8717 pickInfoReply.Data.Desc = Utils.StringToBytes(desc);
8718 pickInfoReply.Data.SnapshotID = snapshotID;
8719 pickInfoReply.Data.User = Utils.StringToBytes(user);
8720 pickInfoReply.Data.OriginalName = Utils.StringToBytes(originalName);
8721 pickInfoReply.Data.SimName = Utils.StringToBytes(simName);
8722 pickInfoReply.Data.PosGlobal = new Vector3d(posGlobal);
8723 pickInfoReply.Data.SortOrder = sortOrder;
8724 pickInfoReply.Data.Enabled = enabled;
8725
8726 OutPacket(pickInfoReply, ThrottleOutPacketType.Task);
8727 }
8728
8704 public string Report() 8729 public string Report()
8705 { 8730 {
8706 LLPacketHandler handler = (LLPacketHandler) m_PacketHandler; 8731 LLPacketHandler handler = (LLPacketHandler) m_PacketHandler;