diff options
author | Melanie Thielker | 2008-10-06 08:19:18 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 08:19:18 +0000 |
commit | d834996bbef445565ac17a3e1eb4fe9c491cad5b (patch) | |
tree | 966f6f242b45749f40599e376bce5d8dc915a83b /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Exclude attachments from parcel prim counts (diff) | |
download | opensim-SC-d834996bbef445565ac17a3e1eb4fe9c491cad5b.zip opensim-SC-d834996bbef445565ac17a3e1eb4fe9c491cad5b.tar.gz opensim-SC-d834996bbef445565ac17a3e1eb4fe9c491cad5b.tar.bz2 opensim-SC-d834996bbef445565ac17a3e1eb4fe9c491cad5b.tar.xz |
Implement Parcel -> ForceOwnerToMe god mode packet
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 102b9c4..ff35c32 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -211,6 +211,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
211 | private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects; | 211 | private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects; |
212 | private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest; | 212 | private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest; |
213 | private ParcelAbandonRequest handlerParcelAbandonRequest = null; | 213 | private ParcelAbandonRequest handlerParcelAbandonRequest = null; |
214 | private ParcelGodForceOwner handlerParcelGodForceOwner = null; | ||
214 | private ParcelReclaim handlerParcelReclaim = null; | 215 | private ParcelReclaim handlerParcelReclaim = null; |
215 | private ParcelReturnObjectsRequest handlerParcelReturnObjectsRequest = null; | 216 | private ParcelReturnObjectsRequest handlerParcelReturnObjectsRequest = null; |
216 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; | 217 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; |
@@ -938,6 +939,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
938 | public event ParcelSelectObjects OnParcelSelectObjects; | 939 | public event ParcelSelectObjects OnParcelSelectObjects; |
939 | public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; | 940 | public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; |
940 | public event ParcelAbandonRequest OnParcelAbandonRequest; | 941 | public event ParcelAbandonRequest OnParcelAbandonRequest; |
942 | public event ParcelGodForceOwner OnParcelGodForceOwner; | ||
941 | public event ParcelReclaim OnParcelReclaim; | 943 | public event ParcelReclaim OnParcelReclaim; |
942 | public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest; | 944 | public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest; |
943 | public event RegionInfoRequest OnRegionInfoRequest; | 945 | public event RegionInfoRequest OnRegionInfoRequest; |
@@ -5678,6 +5680,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5678 | handlerParcelObjectOwnerRequest(reqPacket.ParcelData.LocalID, this); | 5680 | handlerParcelObjectOwnerRequest(reqPacket.ParcelData.LocalID, this); |
5679 | } | 5681 | } |
5680 | break; | 5682 | break; |
5683 | case PacketType.ParcelGodForceOwner: | ||
5684 | ParcelGodForceOwnerPacket godForceOwnerPacket = (ParcelGodForceOwnerPacket)Pack; | ||
5685 | |||
5686 | handlerParcelGodForceOwner = OnParcelGodForceOwner; | ||
5687 | if (handlerParcelGodForceOwner != null) | ||
5688 | { | ||
5689 | handlerParcelGodForceOwner(godForceOwnerPacket.Data.LocalID, godForceOwnerPacket.Data.OwnerID, this); | ||
5690 | } | ||
5691 | break; | ||
5681 | case PacketType.ParcelRelease: | 5692 | case PacketType.ParcelRelease: |
5682 | ParcelReleasePacket releasePacket = (ParcelReleasePacket)Pack; | 5693 | ParcelReleasePacket releasePacket = (ParcelReleasePacket)Pack; |
5683 | 5694 | ||