aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs31
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs4
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs4
3 files changed, 39 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();
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index c190434..99c953c 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -891,6 +891,10 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
891 { 891 {
892 } 892 }
893 893
894 public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
895 {
896 }
897
894 public void KillEndDone() 898 public void KillEndDone()
895 { 899 {
896 } 900 }
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 1566b2e..6fbab0a 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -888,6 +888,10 @@ namespace OpenSim.Region.Examples.SimpleModule
888 { 888 {
889 } 889 }
890 890
891 public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data)
892 {
893 }
894
891 public void KillEndDone() 895 public void KillEndDone()
892 { 896 {
893 } 897 }