aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 0a4906a..623368a 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -245,7 +245,21 @@ namespace OpenSim.Region.Environment.Scenes
245 searchData = new AvatarPickerReplyPacket.DataBlock[0]; 245 searchData = new AvatarPickerReplyPacket.DataBlock[0];
246 } 246 }
247 replyPacket.Data = searchData; 247 replyPacket.Data = searchData;
248 client.SendAvatarPickerReply(replyPacket); 248
249 AvatarPickerReplyAgentDataArgs agent_data = new AvatarPickerReplyAgentDataArgs();
250 agent_data.AgentID = replyPacket.AgentData.AgentID;
251 agent_data.QueryID = replyPacket.AgentData.QueryID;
252
253 List<AvatarPickerReplyDataArgs> data_args = new List<AvatarPickerReplyDataArgs>();
254 for (i = 0; i < replyPacket.Data.Length; i++)
255 {
256 AvatarPickerReplyDataArgs data_arg = new AvatarPickerReplyDataArgs();
257 data_arg.AvatarID = replyPacket.Data[i].AvatarID;
258 data_arg.FirstName = replyPacket.Data[i].FirstName;
259 data_arg.LastName = replyPacket.Data[i].LastName;
260 data_args.Add(data_arg);
261 }
262 client.SendAvatarPickerReply(agent_data, data_args);
249 } 263 }
250 } 264 }
251} 265}