aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs28
1 files changed, 19 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index df52745..3c35270 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -529,6 +529,9 @@ namespace OpenSim.Region.ClientStack
529 public event ParcelSelectObjects OnParcelSelectObjects; 529 public event ParcelSelectObjects OnParcelSelectObjects;
530 public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; 530 public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
531 public event EstateOwnerMessageRequest OnEstateOwnerMessage; 531 public event EstateOwnerMessageRequest OnEstateOwnerMessage;
532 public event RegionInfoRequest OnRegionInfoRequest;
533 public event EstateCovenantRequest OnEstateCovenantRequest;
534
532 535
533 #region Scene/Avatar to Client 536 #region Scene/Avatar to Client
534 537
@@ -3216,7 +3219,21 @@ namespace OpenSim.Region.ClientStack
3216 OnEstateOwnerMessage(messagePacket, this); 3219 OnEstateOwnerMessage(messagePacket, this);
3217 } 3220 }
3218 break; 3221 break;
3219 3222 case PacketType.RequestRegionInfo:
3223 RequestRegionInfoPacket.AgentDataBlock mPacket = ((RequestRegionInfoPacket)Pack).AgentData;
3224 if (OnRegionInfoRequest != null)
3225 {
3226 OnRegionInfoRequest(this, mPacket.SessionID);
3227 }
3228 break;
3229 case PacketType.EstateCovenantRequest:
3230 // TODO: handle this packet
3231 EstateCovenantRequestPacket.AgentDataBlock epack = ((EstateCovenantRequestPacket)Pack).AgentData;
3232 if (OnEstateCovenantRequest != null)
3233 {
3234 OnEstateCovenantRequest(this, epack.SessionID);
3235 }
3236 break;
3220 case PacketType.AgentThrottle: 3237 case PacketType.AgentThrottle:
3221 AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; 3238 AgentThrottlePacket atpack = (AgentThrottlePacket)Pack;
3222 m_packetQueue.SetThrottleFromClient(atpack.Throttle.Throttles); 3239 m_packetQueue.SetThrottleFromClient(atpack.Throttle.Throttles);
@@ -3278,10 +3295,7 @@ namespace OpenSim.Region.ClientStack
3278 // TODO: handle this packet 3295 // TODO: handle this packet
3279 MainLog.Instance.Warn("CLIENT", "unhandled ViewerStats packet"); 3296 MainLog.Instance.Warn("CLIENT", "unhandled ViewerStats packet");
3280 break; 3297 break;
3281 case PacketType.EstateCovenantRequest: 3298
3282 // TODO: handle this packet
3283 MainLog.Instance.Warn("CLIENT", "unhandled EstateCovenantRequest packet");
3284 break;
3285 case PacketType.CreateGroupRequest: 3299 case PacketType.CreateGroupRequest:
3286 // TODO: handle this packet 3300 // TODO: handle this packet
3287 MainLog.Instance.Warn("CLIENT", "unhandled CreateGroupRequest packet"); 3301 MainLog.Instance.Warn("CLIENT", "unhandled CreateGroupRequest packet");
@@ -3343,10 +3357,6 @@ namespace OpenSim.Region.ClientStack
3343 // TODO: handle this packet 3357 // TODO: handle this packet
3344 MainLog.Instance.Warn("CLIENT", "unhandled UserInfoRequest packet"); 3358 MainLog.Instance.Warn("CLIENT", "unhandled UserInfoRequest packet");
3345 break; 3359 break;
3346 case PacketType.RequestRegionInfo:
3347 // TODO: handle this packet
3348 MainLog.Instance.Warn("CLIENT", "unhandled RequestRegionInfo packet");
3349 break;
3350 case PacketType.InventoryDescendents: 3360 case PacketType.InventoryDescendents:
3351 // TODO: handle this packet 3361 // TODO: handle this packet
3352 MainLog.Instance.Warn("CLIENT", "unhandled InventoryDescent packet"); 3362 MainLog.Instance.Warn("CLIENT", "unhandled InventoryDescent packet");