aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 0802952..8b20946 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -269,6 +269,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
269 269
270 private MapItemRequest handlerMapItemRequest; 270 private MapItemRequest handlerMapItemRequest;
271 271
272 private StartLure handlerStartLure;
273 private TeleportLureRequest handlerTeleportLureRequest;
274
272 private readonly IGroupsModule m_GroupsModule; 275 private readonly IGroupsModule m_GroupsModule;
273 276
274 //private TerrainUnacked handlerUnackedTerrain = null; 277 //private TerrainUnacked handlerUnackedTerrain = null;
@@ -1011,6 +1014,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1011 public event DeclineCallingCard OnDeclineCallingCard; 1014 public event DeclineCallingCard OnDeclineCallingCard;
1012 public event SoundTrigger OnSoundTrigger; 1015 public event SoundTrigger OnSoundTrigger;
1013 1016
1017 public event StartLure OnStartLure;
1018 public event TeleportLureRequest OnTeleportLureRequest;
1014 1019
1015 1020
1016 public void ActivateGesture(UUID assetId, UUID gestureId) 1021 public void ActivateGesture(UUID assetId, UUID gestureId)
@@ -7168,6 +7173,29 @@ namespace OpenSim.Region.ClientStack.LindenUDP
7168 } 7173 }
7169 } 7174 }
7170 break; 7175 break;
7176 case PacketType.StartLure:
7177 StartLurePacket startLureRequest = (StartLurePacket)Pack;
7178 handlerStartLure = OnStartLure;
7179 if (handlerStartLure != null)
7180 handlerStartLure(startLureRequest.Info.LureType,
7181 Utils.BytesToString(
7182 startLureRequest.Info.Message),
7183 startLureRequest.TargetData[0].TargetID,
7184 this);
7185 break;
7186
7187 case PacketType.TeleportLureRequest:
7188 TeleportLureRequestPacket teleportLureRequest =
7189 (TeleportLureRequestPacket)Pack;
7190
7191 handlerTeleportLureRequest = OnTeleportLureRequest;
7192 if (handlerTeleportLureRequest != null)
7193 handlerTeleportLureRequest(
7194 teleportLureRequest.Info.LureID,
7195 teleportLureRequest.Info.TeleportFlags,
7196 this);
7197 break;
7198
7171 default: 7199 default:
7172 m_log.Warn("[CLIENT]: unhandled packet " + Pack); 7200 m_log.Warn("[CLIENT]: unhandled packet " + Pack);
7173 break; 7201 break;