aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authormingchen2007-06-08 21:30:51 +0000
committermingchen2007-06-08 21:30:51 +0000
commit2c04171990df9e01cd4c5aa600a6eaa1487f9605 (patch)
treec5664038ce624fb0f6edb63db6c62587e45518a3 /OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
parent*Moved SendRegionHandshake back to IClientAPI and modded sendRegionHandshakeT... (diff)
downloadopensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.zip
opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.gz
opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.bz2
opensim-SC_OLD-2c04171990df9e01cd4c5aa600a6eaa1487f9605.tar.xz
*Added delegates and events for parcel and estate management
*Only thing left is to get the master user setup in both sandbox and grid mode
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
index d215a23..8b94a82 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs
@@ -454,6 +454,31 @@ namespace OpenSim
454 break; 454 break;
455 #endregion 455 #endregion
456 456
457 #region Parcel related packets
458 case PacketType.ParcelPropertiesRequest:
459 ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack;
460 OnParcelPropertiesRequest((int)Math.Round(propertiesRequest.ParcelData.West), (int)Math.Round(propertiesRequest.ParcelData.South), (int)Math.Round(propertiesRequest.ParcelData.East), (int)Math.Round(propertiesRequest.ParcelData.North), propertiesRequest.ParcelData.SequenceID, propertiesRequest.ParcelData.SnapSelection, this);
461 break;
462 case PacketType.ParcelDivide:
463 ParcelDividePacket parcelDivide = (ParcelDividePacket)Pack;
464 OnParcelDivideRequest((int)Math.Round(parcelDivide.ParcelData.West), (int)Math.Round(parcelDivide.ParcelData.South), (int)Math.Round(parcelDivide.ParcelData.East), (int)Math.Round(parcelDivide.ParcelData.North), this);
465 break;
466 case PacketType.ParcelJoin:
467 ParcelJoinPacket parcelJoin = (ParcelJoinPacket)Pack;
468 OnParcelJoinRequest((int)Math.Round(parcelJoin.ParcelData.West), (int)Math.Round(parcelJoin.ParcelData.South), (int)Math.Round(parcelJoin.ParcelData.East), (int)Math.Round(parcelJoin.ParcelData.North), this);
469 break;
470 case PacketType.ParcelPropertiesUpdate:
471 ParcelPropertiesUpdatePacket updatePacket = (ParcelPropertiesUpdatePacket)Pack;
472 OnParcelPropertiesUpdateRequest(updatePacket, this);
473 break;
474 #endregion
475
476 #region Estate Packets
477 case PacketType.EstateOwnerMessage:
478 EstateOwnerMessagePacket messagePacket = (EstateOwnerMessagePacket)Pack;
479 OnEstateOwnerMessage(messagePacket, this);
480 break;
481 #endregion
457 #region unimplemented handlers 482 #region unimplemented handlers
458 case PacketType.AgentIsNowWearing: 483 case PacketType.AgentIsNowWearing:
459 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack; 484 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack;