aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index ef2b2ba..5d7a1ca 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -260,6 +260,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
260 private ActivateGesture handlerActivateGesture = null; 260 private ActivateGesture handlerActivateGesture = null;
261 private DeactivateGesture handlerDeactivateGesture = null; 261 private DeactivateGesture handlerDeactivateGesture = null;
262 262
263 private DirPlacesQuery handlerDirPlacesQuery = null;
264
263 //private TerrainUnacked handlerUnackedTerrain = null; 265 //private TerrainUnacked handlerUnackedTerrain = null;
264 266
265 //** 267 //**
@@ -984,6 +986,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
984 public event ActivateGesture OnActivateGesture; 986 public event ActivateGesture OnActivateGesture;
985 public event DeactivateGesture OnDeactivateGesture; 987 public event DeactivateGesture OnDeactivateGesture;
986 988
989 public event DirPlacesQuery OnDirPlacesQuery;
990
987 991
988 // voire si c'est necessaire 992 // voire si c'est necessaire
989 public void ActivateGesture(UUID assetId, UUID gestureId) 993 public void ActivateGesture(UUID assetId, UUID gestureId)
@@ -6246,6 +6250,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6246 // TODO: handle this packet 6250 // TODO: handle this packet
6247 //m_log.Warn("[CLIENT]: unhandled InventoryDescent packet"); 6251 //m_log.Warn("[CLIENT]: unhandled InventoryDescent packet");
6248 break; 6252 break;
6253 case PacketType.DirPlacesQuery:
6254 DirPlacesQueryPacket dirPlacesQueryPacket = (DirPlacesQueryPacket)Pack;
6255 Console.WriteLine(dirPlacesQueryPacket.ToString());
6256
6257 handlerDirPlacesQuery = OnDirPlacesQuery;
6258 if (handlerDirPlacesQuery != null)
6259 {
6260 handlerDirPlacesQuery(this,
6261 dirPlacesQueryPacket.QueryData.QueryID,
6262 Utils.BytesToString(
6263 dirPlacesQueryPacket.QueryData.QueryText),
6264 (int)dirPlacesQueryPacket.QueryData.QueryFlags,
6265 (int)dirPlacesQueryPacket.QueryData.Category,
6266 Utils.BytesToString(
6267 dirPlacesQueryPacket.QueryData.SimName),
6268 dirPlacesQueryPacket.QueryData.QueryStart);
6269 }
6270 break;
6249 default: 6271 default:
6250 m_log.Warn("[CLIENT]: unhandled packet " + Pack.ToString()); 6272 m_log.Warn("[CLIENT]: unhandled packet " + Pack.ToString());
6251 break; 6273 break;