aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-23 23:41:46 +0000
committerMelanie Thielker2008-12-23 23:41:46 +0000
commit318de200bd398d41b246126f541cd10ac7785b77 (patch)
tree9d41791fe7a75765b239bb1fd7f593f7fac9f4cd /OpenSim/Region/ClientStack/LindenUDP
parentAddinf InterregionData.cs IInterregionComms.cs and InterregionComms.cs (diff)
downloadopensim-SC_OLD-318de200bd398d41b246126f541cd10ac7785b77.zip
opensim-SC_OLD-318de200bd398d41b246126f541cd10ac7785b77.tar.gz
opensim-SC_OLD-318de200bd398d41b246126f541cd10ac7785b77.tar.bz2
opensim-SC_OLD-318de200bd398d41b246126f541cd10ac7785b77.tar.xz
Plumb in EventNotification* and EventGodDelete
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index aac4e32..2475b17 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -279,6 +279,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
279 private ClassifiedDelete handlerClassifiedDelete; 279 private ClassifiedDelete handlerClassifiedDelete;
280 private ClassifiedDelete handlerClassifiedGodDelete; 280 private ClassifiedDelete handlerClassifiedGodDelete;
281 281
282 private EventNotificationAddRequest handlerEventNotificationAddRequest;
283 private EventNotificationRemoveRequest handlerEventNotificationRemoveRequest;
284 private EventGodDelete handlerEventGodDelete;
285
282 private readonly IGroupsModule m_GroupsModule; 286 private readonly IGroupsModule m_GroupsModule;
283 287
284 //private TerrainUnacked handlerUnackedTerrain = null; 288 //private TerrainUnacked handlerUnackedTerrain = null;
@@ -1042,6 +1046,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1042 public event ClassifiedDelete OnClassifiedDelete; 1046 public event ClassifiedDelete OnClassifiedDelete;
1043 public event ClassifiedDelete OnClassifiedGodDelete; 1047 public event ClassifiedDelete OnClassifiedGodDelete;
1044 1048
1049 public event EventNotificationAddRequest OnEventNotificationAddRequest;
1050 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
1051 public event EventGodDelete OnEventGodDelete;
1052
1045 public void ActivateGesture(UUID assetId, UUID gestureId) 1053 public void ActivateGesture(UUID assetId, UUID gestureId)
1046 { 1054 {
1047 } 1055 }
@@ -7280,6 +7288,42 @@ namespace OpenSim.Region.ClientStack.LindenUDP
7280 this); 7288 this);
7281 break; 7289 break;
7282 7290
7291 case PacketType.EventGodDelete:
7292 EventGodDeletePacket eventGodDelete =
7293 (EventGodDeletePacket)Pack;
7294
7295 handlerEventGodDelete = OnEventGodDelete;
7296 if (handlerEventGodDelete != null)
7297 handlerEventGodDelete(
7298 eventGodDelete.EventData.EventID,
7299 eventGodDelete.QueryData.QueryID,
7300 Utils.BytesToString(
7301 eventGodDelete.QueryData.QueryText),
7302 eventGodDelete.QueryData.QueryFlags,
7303 eventGodDelete.QueryData.QueryStart,
7304 this);
7305 break;
7306
7307 case PacketType.EventNotificationAddRequest:
7308 EventNotificationAddRequestPacket eventNotificationAdd =
7309 (EventNotificationAddRequestPacket)Pack;
7310
7311 handlerEventNotificationAddRequest = OnEventNotificationAddRequest;
7312 if (handlerEventNotificationAddRequest != null)
7313 handlerEventNotificationAddRequest(
7314 eventNotificationAdd.EventData.EventID, this);
7315 break;
7316
7317 case PacketType.EventNotificationRemoveRequest:
7318 EventNotificationRemoveRequestPacket eventNotificationRemove =
7319 (EventNotificationRemoveRequestPacket)Pack;
7320
7321 handlerEventNotificationRemoveRequest = OnEventNotificationRemoveRequest;
7322 if (handlerEventNotificationRemoveRequest != null)
7323 handlerEventNotificationRemoveRequest(
7324 eventNotificationRemove.EventData.EventID, this);
7325 break;
7326
7283 default: 7327 default:
7284 m_log.Warn("[CLIENT]: unhandled packet " + Pack); 7328 m_log.Warn("[CLIENT]: unhandled packet " + Pack);
7285 break; 7329 break;