diff options
author | mingchen | 2007-06-06 18:15:12 +0000 |
---|---|---|
committer | mingchen | 2007-06-06 18:15:12 +0000 |
commit | 73a36680bd5dacd4f2630c50115ef4c1f10dc387 (patch) | |
tree | a628ee922e8cac2e4836b025d986cb5806dd820d /OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |
parent | Changes: (diff) | |
download | opensim-SC_OLD-73a36680bd5dacd4f2630c50115ef4c1f10dc387.zip opensim-SC_OLD-73a36680bd5dacd4f2630c50115ef4c1f10dc387.tar.gz opensim-SC_OLD-73a36680bd5dacd4f2630c50115ef4c1f10dc387.tar.bz2 opensim-SC_OLD-73a36680bd5dacd4f2630c50115ef4c1f10dc387.tar.xz |
*Added new commands ('backup','show parcels','reset parcels')
*Added parcel join support
*Made parcel saving and loading much more efficient
*Fixed bug that would not allow joining of parcel locally in the viewer (gives an error before sending to server)
*Known Issue: Restoring parcels from storage is not working correctly. For now, do a 'reset parcels' to regenerate a standard parcel
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs index 2a75205..e329f09 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |||
@@ -85,6 +85,7 @@ namespace OpenSim | |||
85 | public event StatusChange OnChildAgentStatus; | 85 | public event StatusChange OnChildAgentStatus; |
86 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; | 86 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; |
87 | public event ParcelDivideRequest OnParcelDivideRequest; | 87 | public event ParcelDivideRequest OnParcelDivideRequest; |
88 | public event ParcelJoinRequest OnParcelJoinRequest; | ||
88 | 89 | ||
89 | protected override void ProcessInPacket(Packet Pack) | 90 | protected override void ProcessInPacket(Packet Pack) |
90 | { | 91 | { |
@@ -477,6 +478,10 @@ namespace OpenSim | |||
477 | ParcelDividePacket parcelDivide = (ParcelDividePacket)Pack; | 478 | ParcelDividePacket parcelDivide = (ParcelDividePacket)Pack; |
478 | 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); | 479 | 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); |
479 | break; | 480 | break; |
481 | case PacketType.ParcelJoin: | ||
482 | ParcelJoinPacket parcelJoin = (ParcelJoinPacket)Pack; | ||
483 | 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); | ||
484 | break; | ||
480 | #endregion | 485 | #endregion |
481 | 486 | ||
482 | #region unimplemented handlers | 487 | #region unimplemented handlers |