aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/IClientAPI.cs2
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs8
-rw-r--r--OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs5
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs5
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs5
5 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index d9932eb..2495834 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -733,6 +733,8 @@ namespace OpenSim.Framework
733 733
734 ulong ActiveGroupPowers { get; } 734 ulong ActiveGroupPowers { get; }
735 735
736 Dictionary<UUID, ulong> GetGroupPowers();
737
736 ulong GetGroupPowers(UUID groupID); 738 ulong GetGroupPowers(UUID groupID);
737 739
738 bool IsGroupMember(UUID GroupID); 740 bool IsGroupMember(UUID GroupID);
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 68fe8d9..39f43ee 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5782,6 +5782,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5782 OutPacket(packet, ThrottleOutPacketType.Task); 5782 OutPacket(packet, ThrottleOutPacketType.Task);
5783 } 5783 }
5784 5784
5785 public Dictionary<UUID, ulong> GetGroupPowers()
5786 {
5787 lock(m_groupPowers)
5788 {
5789 return new Dictionary<UUID, ulong>(m_groupPowers);
5790 }
5791 }
5792
5785 public ulong GetGroupPowers(UUID groupID) 5793 public ulong GetGroupPowers(UUID groupID)
5786 { 5794 {
5787 if (groupID == ActiveGroupId) 5795 if (groupID == ActiveGroupId)
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
index f34dbe8..ade30a6 100644
--- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
+++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
@@ -582,6 +582,11 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
582 get { return 0; } 582 get { return 0; }
583 } 583 }
584 584
585 public Dictionary<UUID, ulong> GetGroupPowers()
586 {
587 return new Dictionary<UUID, ulong>();
588 }
589
585 public ulong GetGroupPowers(UUID groupID) 590 public ulong GetGroupPowers(UUID groupID)
586 { 591 {
587 return 0; 592 return 0;
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
index bdac6aa..7cfa360 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
@@ -603,6 +603,11 @@ namespace OpenSim.Region.OptionalModules.World.NPC
603 return (m_hostGroupID == groupID); 603 return (m_hostGroupID == groupID);
604 } 604 }
605 605
606 public Dictionary<UUID, ulong> GetGroupPowers()
607 {
608 return new Dictionary<UUID, ulong>();
609 }
610
606 public ulong GetGroupPowers(UUID groupID) 611 public ulong GetGroupPowers(UUID groupID)
607 { 612 {
608 return 0; 613 return 0;
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 98a98c0..cc87a54 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -421,6 +421,11 @@ namespace OpenSim.Tests.Common
421 return false; 421 return false;
422 } 422 }
423 423
424 public Dictionary<UUID, ulong> GetGroupPowers()
425 {
426 return new Dictionary<UUID, ulong>();
427 }
428
424 public ulong GetGroupPowers(UUID groupID) 429 public ulong GetGroupPowers(UUID groupID)
425 { 430 {
426 return 0; 431 return 0;