diff options
author | mingchen | 2007-06-07 00:04:50 +0000 |
---|---|---|
committer | mingchen | 2007-06-07 00:04:50 +0000 |
commit | a12a495c22817f901792fd9e11c2a4b4a5c628a8 (patch) | |
tree | 55d710d872da255036d3003b58e85efa2706be87 /OpenSim/OpenSim.RegionServer/Client | |
parent | If this is what it takes, then fine (diff) | |
download | opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.zip opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.gz opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.bz2 opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.xz |
*Added support to change most of a parcel's settings and flags (from the about land box)
*Added the rest of the member variables relating to parcels in the ParcelData class
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs index e329f09..e3d875f 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.ProcessPackets.cs | |||
@@ -83,9 +83,11 @@ namespace OpenSim | |||
83 | public event UpdatePrimRotation OnUpdatePrimRotation; | 83 | public event UpdatePrimRotation OnUpdatePrimRotation; |
84 | public event UpdatePrimVector OnUpdatePrimScale; | 84 | public event UpdatePrimVector OnUpdatePrimScale; |
85 | public event StatusChange OnChildAgentStatus; | 85 | public event StatusChange OnChildAgentStatus; |
86 | |||
86 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; | 87 | public event ParcelPropertiesRequest OnParcelPropertiesRequest; |
87 | public event ParcelDivideRequest OnParcelDivideRequest; | 88 | public event ParcelDivideRequest OnParcelDivideRequest; |
88 | public event ParcelJoinRequest OnParcelJoinRequest; | 89 | public event ParcelJoinRequest OnParcelJoinRequest; |
90 | public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; | ||
89 | 91 | ||
90 | protected override void ProcessInPacket(Packet Pack) | 92 | protected override void ProcessInPacket(Packet Pack) |
91 | { | 93 | { |
@@ -482,6 +484,10 @@ namespace OpenSim | |||
482 | ParcelJoinPacket parcelJoin = (ParcelJoinPacket)Pack; | 484 | 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); | 485 | 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; | 486 | break; |
487 | case PacketType.ParcelPropertiesUpdate: | ||
488 | ParcelPropertiesUpdatePacket updatePacket = (ParcelPropertiesUpdatePacket)Pack; | ||
489 | OnParcelPropertiesUpdateRequest(updatePacket, this); | ||
490 | break; | ||
485 | #endregion | 491 | #endregion |
486 | 492 | ||
487 | #region unimplemented handlers | 493 | #region unimplemented handlers |