aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-20 20:43:48 +0000
committerMelanie Thielker2009-04-20 20:43:48 +0000
commitd91330ea35a7344af0a3a79e1dac7dee69daee22 (patch)
tree803a687a3e1619e7f8fa865709b9dcd117a9c7d1 /OpenSim/Region/ClientStack/LindenUDP
parent* It turns out vehicle Angular Motor direction is always in global space. (diff)
downloadopensim-SC_OLD-d91330ea35a7344af0a3a79e1dac7dee69daee22.zip
opensim-SC_OLD-d91330ea35a7344af0a3a79e1dac7dee69daee22.tar.gz
opensim-SC_OLD-d91330ea35a7344af0a3a79e1dac7dee69daee22.tar.bz2
opensim-SC_OLD-d91330ea35a7344af0a3a79e1dac7dee69daee22.tar.xz
Add PlacesQuery packet
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 6ac0acd..c12cc69 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -313,6 +313,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
313 313
314 //private AvatarInterestUpdate handlerAvatarInterestUpdate; 314 //private AvatarInterestUpdate handlerAvatarInterestUpdate;
315 315
316 private PlacesQuery handlerPlacesQuery;
317
316 private readonly IGroupsModule m_GroupsModule; 318 private readonly IGroupsModule m_GroupsModule;
317 319
318 //private TerrainUnacked handlerUnackedTerrain = null; 320 //private TerrainUnacked handlerUnackedTerrain = null;
@@ -1112,6 +1114,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1112 1114
1113 //public event AvatarInterestUpdate OnAvatarInterestUpdate; 1115 //public event AvatarInterestUpdate OnAvatarInterestUpdate;
1114 1116
1117 public event PlacesQuery OnPlacesQuery;
1118
1115 public void ActivateGesture(UUID assetId, UUID gestureId) 1119 public void ActivateGesture(UUID assetId, UUID gestureId)
1116 { 1120 {
1117 } 1121 }
@@ -9140,6 +9144,23 @@ namespace OpenSim.Region.ClientStack.LindenUDP
9140// 9144//
9141// break; 9145// break;
9142 9146
9147 case PacketType.PlacesQuery:
9148 PlacesQueryPacket placesQueryPacket =
9149 (PlacesQueryPacket)Pack;
9150
9151 handlerPlacesQuery = OnPlacesQuery;
9152
9153 if (handlerPlacesQuery != null)
9154 handlerPlacesQuery(placesQueryPacket.AgentData.QueryID,
9155 placesQueryPacket.TransactionData.TransactionID,
9156 Utils.BytesToString(
9157 placesQueryPacket.QueryData.QueryText),
9158 placesQueryPacket.QueryData.QueryFlags,
9159 (byte)placesQueryPacket.QueryData.Category,
9160 Utils.BytesToString(
9161 placesQueryPacket.QueryData.SimName),
9162 this);
9163 break;
9143 default: 9164 default:
9144 m_log.Warn("[CLIENT]: unhandled packet " + Pack); 9165 m_log.Warn("[CLIENT]: unhandled packet " + Pack);
9145 break; 9166 break;