diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 5d7a1ca..2cb33d0 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6725,6 +6725,37 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6725 | return string.Empty; | 6725 | return string.Empty; |
6726 | } | 6726 | } |
6727 | 6727 | ||
6728 | public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data) | ||
6729 | { | ||
6730 | DirPlacesReplyPacket packet = (DirPlacesReplyPacket)PacketPool.Instance.GetPacket(PacketType.DirPlacesReply); | ||
6731 | |||
6732 | packet.AgentData = new DirPlacesReplyPacket.AgentDataBlock(); | ||
6733 | |||
6734 | packet.QueryData = new DirPlacesReplyPacket.QueryDataBlock[1]; | ||
6735 | packet.QueryData[0] = new DirPlacesReplyPacket.QueryDataBlock(); | ||
6736 | |||
6737 | packet.QueryReplies = | ||
6738 | new DirPlacesReplyPacket.QueryRepliesBlock[data.Length]; | ||
6739 | |||
6740 | packet.AgentData.AgentID = AgentId; | ||
6741 | |||
6742 | packet.QueryData[0].QueryID = queryID; | ||
6743 | |||
6744 | int i = 0; | ||
6745 | foreach (DirPlacesReplyData d in data) | ||
6746 | { | ||
6747 | packet.QueryReplies[i] = | ||
6748 | new DirPlacesReplyPacket.QueryRepliesBlock(); | ||
6749 | packet.QueryReplies[i].ParcelID = d.parcelID; | ||
6750 | packet.QueryReplies[i].Name = Utils.StringToBytes(d.name); | ||
6751 | packet.QueryReplies[i].ForSale = d.forSale; | ||
6752 | packet.QueryReplies[i].Auction = d.auction; | ||
6753 | packet.QueryReplies[i].Dwell = d.dwell; | ||
6754 | } | ||
6755 | |||
6756 | OutPacket(packet, ThrottleOutPacketType.Task); | ||
6757 | } | ||
6758 | |||
6728 | public void KillEndDone() | 6759 | public void KillEndDone() |
6729 | { | 6760 | { |
6730 | KillPacket kp = new KillPacket(); | 6761 | KillPacket kp = new KillPacket(); |