aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs1
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs28
2 files changed, 29 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index 77c1701..f0ebf03 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -71,6 +71,7 @@ namespace OpenSim.Region.ClientStack
71 public event ObjectDeselect OnObjectDeselect; 71 public event ObjectDeselect OnObjectDeselect;
72 public event GenericCall7 OnObjectDescription; 72 public event GenericCall7 OnObjectDescription;
73 public event GenericCall7 OnObjectName; 73 public event GenericCall7 OnObjectName;
74 public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
74 public event UpdatePrimFlags OnUpdatePrimFlags; 75 public event UpdatePrimFlags OnUpdatePrimFlags;
75 public event UpdatePrimTexture OnUpdatePrimTexture; 76 public event UpdatePrimTexture OnUpdatePrimTexture;
76 public event UpdateVector OnUpdatePrimGroupPosition; 77 public event UpdateVector OnUpdatePrimGroupPosition;
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index da4f830..d3ef88b 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -395,6 +395,22 @@ namespace OpenSim.Region.ClientStack
395 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString()); 395 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
396 break; 396 break;
397 397
398 case PacketType.RequestObjectPropertiesFamily:
399 //This powers the little tooltip that appears when you move your mouse over an object
400 RequestObjectPropertiesFamilyPacket packToolTip = (RequestObjectPropertiesFamilyPacket)Pack;
401
402
403 RequestObjectPropertiesFamilyPacket.ObjectDataBlock packObjBlock = packToolTip.ObjectData;
404
405 if (OnRequestObjectPropertiesFamily != null)
406 {
407 OnRequestObjectPropertiesFamily(this, this.m_agentId, packObjBlock.RequestFlags, packObjBlock.ObjectID);
408
409
410 }
411
412 break;
413
398 #endregion 414 #endregion
399 415
400 #region Inventory/Asset/Other related packets 416 #region Inventory/Asset/Other related packets
@@ -725,6 +741,7 @@ namespace OpenSim.Region.ClientStack
725 } 741 }
726 break; 742 break;
727 case PacketType.ParcelObjectOwnersRequest: 743 case PacketType.ParcelObjectOwnersRequest:
744 //System.Console.WriteLine(Pack.ToString());
728 ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket) Pack; 745 ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket) Pack;
729 if (OnParcelObjectOwnerRequest != null) 746 if (OnParcelObjectOwnerRequest != null)
730 { 747 {
@@ -747,7 +764,18 @@ namespace OpenSim.Region.ClientStack
747 #endregion 764 #endregion
748 765
749 #region unimplemented handlers 766 #region unimplemented handlers
767 case PacketType.StartPingCheck:
768 // Send the client the ping response back
769 // Pass the same PingID in the matching packet
770 // Handled In the packet processing
771 OpenSim.Framework.Console.MainLog.Instance.Debug("CLIENT", "possibly unhandled packet " + Pack.ToString());
772 break;
773 case PacketType.CompletePingCheck:
774 // Parhaps this should be processed on the Sim to determine whether or not to drop a dead client
775 // Dumping it to the verbose console until it's handled properly.
750 776
777 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
778 break;
751 case PacketType.AgentIsNowWearing: 779 case PacketType.AgentIsNowWearing:
752 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack; 780 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack;
753 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString()); 781 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());