diff options
author | Charles Krinke | 2008-06-26 13:45:36 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-26 13:45:36 +0000 |
commit | a58a47a7592799813b92aacfb0af4c0b753c899d (patch) | |
tree | 1aa062da5c9d65080c27d8e72347dd143cbea759 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Mantis#1602. Thank you, Kinoc for a patch to: (diff) | |
download | opensim-SC-a58a47a7592799813b92aacfb0af4c0b753c899d.zip opensim-SC-a58a47a7592799813b92aacfb0af4c0b753c899d.tar.gz opensim-SC-a58a47a7592799813b92aacfb0af4c0b753c899d.tar.bz2 opensim-SC-a58a47a7592799813b92aacfb0af4c0b753c899d.tar.xz |
Mantis#1597. Thank you, Melanie for a patch that:
Adds handlers for the reclaim land functionality,
plus all needed permissions checks.
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 eb2a482..49174bd 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -235,6 +235,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
235 | private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects; | 235 | private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects; |
236 | private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest; | 236 | private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest; |
237 | private ParcelAbandonRequest handlerParcelAbandonRequest = null; | 237 | private ParcelAbandonRequest handlerParcelAbandonRequest = null; |
238 | private ParcelReclaim handlerParcelReclaim = null; | ||
238 | private ParcelReturnObjectsRequest handlerParcelReturnObjectsRequest = null; | 239 | private ParcelReturnObjectsRequest handlerParcelReturnObjectsRequest = null; |
239 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; | 240 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; |
240 | private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest; | 241 | private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest; |
@@ -868,6 +869,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
868 | public event ParcelSelectObjects OnParcelSelectObjects; | 869 | public event ParcelSelectObjects OnParcelSelectObjects; |
869 | public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; | 870 | public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; |
870 | public event ParcelAbandonRequest OnParcelAbandonRequest; | 871 | public event ParcelAbandonRequest OnParcelAbandonRequest; |
872 | public event ParcelReclaim OnParcelReclaim; | ||
871 | public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest; | 873 | public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest; |
872 | public event RegionInfoRequest OnRegionInfoRequest; | 874 | public event RegionInfoRequest OnRegionInfoRequest; |
873 | public event EstateCovenantRequest OnEstateCovenantRequest; | 875 | public event EstateCovenantRequest OnEstateCovenantRequest; |
@@ -5661,6 +5663,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5661 | handlerParcelAbandonRequest(releasePacket.Data.LocalID, this); | 5663 | handlerParcelAbandonRequest(releasePacket.Data.LocalID, this); |
5662 | } | 5664 | } |
5663 | break; | 5665 | break; |
5666 | case PacketType.ParcelReclaim: | ||
5667 | ParcelReclaimPacket reclaimPacket = (ParcelReclaimPacket)Pack; | ||
5668 | |||
5669 | handlerParcelReclaim = OnParcelReclaim; | ||
5670 | if (handlerParcelReclaim != null) | ||
5671 | { | ||
5672 | handlerParcelReclaim(reclaimPacket.Data.LocalID, this); | ||
5673 | } | ||
5674 | break; | ||
5664 | case PacketType.ParcelReturnObjects: | 5675 | case PacketType.ParcelReturnObjects: |
5665 | 5676 | ||
5666 | 5677 | ||