diff options
author | Melanie Thielker | 2009-01-03 20:45:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-01-03 20:45:33 +0000 |
commit | 7beb8a5abb801c285d16a5b1e4d8538d0381c671 (patch) | |
tree | d0a64f8e4e32a139ce3ace1d29fd5a73ae88c38c /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Fixed logic for sending foreign user information (HG). (diff) | |
download | opensim-SC_OLD-7beb8a5abb801c285d16a5b1e4d8538d0381c671.zip opensim-SC_OLD-7beb8a5abb801c285d16a5b1e4d8538d0381c671.tar.gz opensim-SC_OLD-7beb8a5abb801c285d16a5b1e4d8538d0381c671.tar.bz2 opensim-SC_OLD-7beb8a5abb801c285d16a5b1e4d8538d0381c671.tar.xz |
Plumb the remaining dwell packets
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 5fda592..85cc337 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -283,6 +283,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
283 | private EventNotificationRemoveRequest handlerEventNotificationRemoveRequest; | 283 | private EventNotificationRemoveRequest handlerEventNotificationRemoveRequest; |
284 | private EventGodDelete handlerEventGodDelete; | 284 | private EventGodDelete handlerEventGodDelete; |
285 | 285 | ||
286 | private ParcelDwellRequest handlerParcelDwellRequest; | ||
287 | |||
286 | private readonly IGroupsModule m_GroupsModule; | 288 | private readonly IGroupsModule m_GroupsModule; |
287 | 289 | ||
288 | //private TerrainUnacked handlerUnackedTerrain = null; | 290 | //private TerrainUnacked handlerUnackedTerrain = null; |
@@ -1050,6 +1052,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1050 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 1052 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
1051 | public event EventGodDelete OnEventGodDelete; | 1053 | public event EventGodDelete OnEventGodDelete; |
1052 | 1054 | ||
1055 | public event ParcelDwellRequest OnParcelDwellRequest; | ||
1056 | |||
1053 | public void ActivateGesture(UUID assetId, UUID gestureId) | 1057 | public void ActivateGesture(UUID assetId, UUID gestureId) |
1054 | { | 1058 | { |
1055 | } | 1059 | } |
@@ -6565,6 +6569,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6565 | 6569 | ||
6566 | } | 6570 | } |
6567 | break; | 6571 | break; |
6572 | case PacketType.ParcelDwellRequest: | ||
6573 | ParcelDwellRequestPacket dwellrq = | ||
6574 | (ParcelDwellRequestPacket)Pack; | ||
6575 | |||
6576 | handlerParcelDwellRequest = OnParcelDwellRequest; | ||
6577 | if (handlerParcelDwellRequest != null) | ||
6578 | { | ||
6579 | handlerParcelDwellRequest(dwellrq.Data.LocalID, this); | ||
6580 | } | ||
6581 | break; | ||
6568 | case PacketType.TransferAbort: | 6582 | case PacketType.TransferAbort: |
6569 | // TODO: handle this packet | 6583 | // TODO: handle this packet |
6570 | //m_log.Warn("[CLIENT]: unhandled TransferAbort packet"); | 6584 | //m_log.Warn("[CLIENT]: unhandled TransferAbort packet"); |
@@ -6573,10 +6587,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6573 | // TODO: handle this packet | 6587 | // TODO: handle this packet |
6574 | //m_log.Warn("[CLIENT]: unhandled MuteListRequest packet"); | 6588 | //m_log.Warn("[CLIENT]: unhandled MuteListRequest packet"); |
6575 | break; | 6589 | break; |
6576 | case PacketType.ParcelDwellRequest: | ||
6577 | // TODO: handle this packet | ||
6578 | //m_log.Warn("[CLIENT]: unhandled ParcelDwellRequest packet"); | ||
6579 | break; | ||
6580 | case PacketType.UseCircuitCode: | 6590 | case PacketType.UseCircuitCode: |
6581 | // Don't display this one, we handle it at a lower level | 6591 | // Don't display this one, we handle it at a lower level |
6582 | break; | 6592 | break; |
@@ -8283,6 +8293,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8283 | OutPacket(ac, ThrottleOutPacketType.Task); | 8293 | OutPacket(ac, ThrottleOutPacketType.Task); |
8284 | } | 8294 | } |
8285 | 8295 | ||
8296 | public void SendParcelDwellReply(int localID, UUID parcelID, float dwell) | ||
8297 | { | ||
8298 | } | ||
8299 | |||
8286 | public void KillEndDone() | 8300 | public void KillEndDone() |
8287 | { | 8301 | { |
8288 | KillPacket kp = new KillPacket(); | 8302 | KillPacket kp = new KillPacket(); |