aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-27 22:47:41 +0000
committerMelanie Thielker2009-03-27 22:47:41 +0000
commitcbef90fec6ebdbc4280b684425479a18cfca01d0 (patch)
treefa20313e59274a0d331e185729fc366e36a5b2d2 /OpenSim/Region/ClientStack/LindenUDP
parent* Adding a few more requirements for *nix (diff)
downloadopensim-SC_OLD-cbef90fec6ebdbc4280b684425479a18cfca01d0.zip
opensim-SC_OLD-cbef90fec6ebdbc4280b684425479a18cfca01d0.tar.gz
opensim-SC_OLD-cbef90fec6ebdbc4280b684425479a18cfca01d0.tar.bz2
opensim-SC_OLD-cbef90fec6ebdbc4280b684425479a18cfca01d0.tar.xz
Add the events needed for profiles.
Fixes Mantis #3324
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 537e24b..47585f9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -298,6 +298,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
298 298
299 private RetrieveInstantMessages handlerRetrieveInstantMessages; 299 private RetrieveInstantMessages handlerRetrieveInstantMessages;
300 300
301 private PickDelete handlerPickDelete;
302 private PickGodDelete handlerPickGodDelete;
303 private PickInfoUpdate handlerPickInfoUpdate;
304 private AvatarNotesUpdate handlerAvatarNotesUpdate;
305
301 private readonly IGroupsModule m_GroupsModule; 306 private readonly IGroupsModule m_GroupsModule;
302 307
303 //private TerrainUnacked handlerUnackedTerrain = null; 308 //private TerrainUnacked handlerUnackedTerrain = null;
@@ -1083,6 +1088,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1083 1088
1084 public event RetrieveInstantMessages OnRetrieveInstantMessages; 1089 public event RetrieveInstantMessages OnRetrieveInstantMessages;
1085 1090
1091 public event PickDelete OnPickDelete;
1092 public event PickGodDelete OnPickGodDelete;
1093 public event PickInfoUpdate OnPickInfoUpdate;
1094 public event AvatarNotesUpdate OnAvatarNotesUpdate;
1095
1086 public void ActivateGesture(UUID assetId, UUID gestureId) 1096 public void ActivateGesture(UUID assetId, UUID gestureId)
1087 { 1097 {
1088 } 1098 }
@@ -7517,6 +7527,51 @@ namespace OpenSim.Region.ClientStack.LindenUDP
7517 handlerRetrieveInstantMessages(this); 7527 handlerRetrieveInstantMessages(this);
7518 break; 7528 break;
7519 7529
7530 case PacketType.PickDelete:
7531 PickDeletePacket pickDelete =
7532 (PickDeletePacket)Pack;
7533
7534 handlerPickDelete = OnPickDelete;
7535 if (handlerPickDelete != null)
7536 handlerPickDelete(this, pickDelete.Data.PickID);
7537 break;
7538 case PacketType.PickGodDelete:
7539 PickGodDeletePacket pickGodDelete =
7540 (PickGodDeletePacket)Pack;
7541
7542 handlerPickGodDelete = OnPickGodDelete;
7543 if (handlerPickGodDelete != null)
7544 handlerPickGodDelete(this,
7545 pickGodDelete.AgentData.AgentID,
7546 pickGodDelete.Data.PickID,
7547 pickGodDelete.Data.QueryID);
7548 break;
7549 case PacketType.PickInfoUpdate:
7550 PickInfoUpdatePacket pickInfoUpdate =
7551 (PickInfoUpdatePacket)Pack;
7552
7553 handlerPickInfoUpdate = OnPickInfoUpdate;
7554 if (handlerPickInfoUpdate != null)
7555 handlerPickInfoUpdate(this,
7556 pickInfoUpdate.Data.PickID,
7557 pickInfoUpdate.Data.CreatorID,
7558 pickInfoUpdate.Data.TopPick,
7559 Utils.BytesToString(pickInfoUpdate.Data.Name),
7560 Utils.BytesToString(pickInfoUpdate.Data.Desc),
7561 pickInfoUpdate.Data.SnapshotID,
7562 pickInfoUpdate.Data.SortOrder,
7563 pickInfoUpdate.Data.Enabled);
7564 break;
7565 case PacketType.AvatarNotesUpdate:
7566 AvatarNotesUpdatePacket avatarNotesUpdate =
7567 (AvatarNotesUpdatePacket)Pack;
7568
7569 handlerAvatarNotesUpdate = OnAvatarNotesUpdate;
7570 if (handlerAvatarNotesUpdate != null)
7571 handlerAvatarNotesUpdate(this,
7572 avatarNotesUpdate.Data.TargetID,
7573 Utils.BytesToString(avatarNotesUpdate.Data.Notes));
7574 break;
7520 default: 7575 default:
7521 m_log.Warn("[CLIENT]: unhandled packet " + Pack); 7576 m_log.Warn("[CLIENT]: unhandled packet " + Pack);
7522 break; 7577 break;