aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement/LandManager.cs
diff options
context:
space:
mode:
authormingchen2007-12-16 19:53:27 +0000
committermingchen2007-12-16 19:53:27 +0000
commite2ed1a4e1f2776e5b929207f1ca6e271a4d6f6e1 (patch)
treeb309a467295e79cb133d1b4daffac3e2dd30af27 /OpenSim/Region/Environment/LandManagement/LandManager.cs
parentReposition 'user profile not found' messages to stop spurious messages caused... (diff)
downloadopensim-SC_OLD-e2ed1a4e1f2776e5b929207f1ca6e271a4d6f6e1.zip
opensim-SC_OLD-e2ed1a4e1f2776e5b929207f1ca6e271a4d6f6e1.tar.gz
opensim-SC_OLD-e2ed1a4e1f2776e5b929207f1ca6e271a4d6f6e1.tar.bz2
opensim-SC_OLD-e2ed1a4e1f2776e5b929207f1ca6e271a4d6f6e1.tar.xz
*Adding and Removing Avatars from the Access/Ban List for a parcel now works, but the actual ban lines, etc are not done.
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/LandManager.cs')
-rw-r--r--OpenSim/Region/Environment/LandManagement/LandManager.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs
index c0fa296..0fa2c23 100644
--- a/OpenSim/Region/Environment/LandManagement/LandManager.cs
+++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs
@@ -554,6 +554,30 @@ namespace OpenSim.Region.Environment.LandManagement
554 } 554 }
555 } 555 }
556 556
557
558 public void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client)
559 {
560 if (landList.ContainsKey(landLocalID))
561 {
562 landList[landLocalID].sendAccessList(agentID, sessionID, flags, sequenceID,remote_client);
563 }
564 }
565
566 public void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID,uint flags, int landLocalID, List<libsecondlife.ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client)
567 {
568 if (landList.ContainsKey(landLocalID))
569 {
570 if (agentID == landList[landLocalID].landData.ownerID)
571 {
572 landList[landLocalID].updateAccessList(flags, entries, remote_client);
573 }
574 }
575 else
576 {
577 Console.WriteLine("INVALID LOCAL LAND ID");
578 }
579 }
580
557 public void resetAllLandPrimCounts() 581 public void resetAllLandPrimCounts()
558 { 582 {
559 foreach (Land p in landList.Values) 583 foreach (Land p in landList.Values)