aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement/LandManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)