diff options
author | UbitUmarov | 2016-07-26 17:57:14 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-26 17:57:14 +0100 |
commit | 1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67 (patch) | |
tree | ca97e43d56625d9c9947a510d587fec523280b53 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | let some group related data to have a public set (diff) | |
download | opensim-SC-1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67.zip opensim-SC-1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67.tar.gz opensim-SC-1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67.tar.bz2 opensim-SC-1a8a8e16efae4bdfc5cbd5108171737ceaaa4c67.tar.xz |
add a public SetGroupPowers to clientView
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 |
1 files changed, 9 insertions, 0 deletions
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 | |||
5790 | } | 5790 | } |
5791 | } | 5791 | } |
5792 | 5792 | ||
5793 | public void SetGroupPowers(Dictionary<UUID, ulong> powers) | ||
5794 | { | ||
5795 | lock(m_groupPowers) | ||
5796 | { | ||
5797 | m_groupPowers.Clear(); | ||
5798 | m_groupPowers = powers; | ||
5799 | } | ||
5800 | } | ||
5801 | |||
5793 | public ulong GetGroupPowers(UUID groupID) | 5802 | public ulong GetGroupPowers(UUID groupID) |
5794 | { | 5803 | { |
5795 | if (groupID == ActiveGroupId) | 5804 | if (groupID == ActiveGroupId) |