From 1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 26 Jul 2016 17:57:14 +0100 Subject: add a public SetGroupPowers to clientView --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 +++++++++ .../Agent/InternetRelayClientView/Server/IRCClientView.cs | 4 +++- OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 2026f78..0bb5dc6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -5790,6 +5790,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP } } + public void SetGroupPowers(Dictionary powers) + { + lock(m_groupPowers) + { + m_groupPowers.Clear(); + m_groupPowers = powers; + } + } + public ulong GetGroupPowers(UUID groupID) { if (groupID == ActiveGroupId) diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 7c08d08..50be3ac 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs @@ -589,7 +589,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server { return new Dictionary(); } - + + public void SetGroupPowers(Dictionary powers) { } + public ulong GetGroupPowers(UUID groupID) { return 0; diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index a84520fe..4275192 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs @@ -610,6 +610,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC return new Dictionary(); } + public void SetGroupPowers(Dictionary powers) { } + public ulong GetGroupPowers(UUID groupID) { return 0; -- cgit v1.1