add a public SetGroupPowers to clientView

LSLKeyTest
UbitUmarov 2016-07-26 17:57:14 +01:00
parent 13ae6dff18
commit 1a8a8e16ef
5 changed files with 18 additions and 1 deletions

View File

@ -735,6 +735,8 @@ namespace OpenSim.Framework
Dictionary<UUID, ulong> GetGroupPowers();
void SetGroupPowers(Dictionary<UUID, ulong> powers);
ulong GetGroupPowers(UUID groupID);
bool IsGroupMember(UUID GroupID);

View File

@ -5790,6 +5790,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
public void SetGroupPowers(Dictionary<UUID, ulong> powers)
{
lock(m_groupPowers)
{
m_groupPowers.Clear();
m_groupPowers = powers;
}
}
public ulong GetGroupPowers(UUID groupID)
{
if (groupID == ActiveGroupId)

View File

@ -589,7 +589,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
{
return new Dictionary<UUID, ulong>();
}
public void SetGroupPowers(Dictionary<UUID, ulong> powers) { }
public ulong GetGroupPowers(UUID groupID)
{
return 0;

View File

@ -610,6 +610,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC
return new Dictionary<UUID, ulong>();
}
public void SetGroupPowers(Dictionary<UUID, ulong> powers) { }
public ulong GetGroupPowers(UUID groupID)
{
return 0;

View File

@ -429,6 +429,8 @@ namespace OpenSim.Tests.Common
return new Dictionary<UUID, ulong>();
}
public void SetGroupPowers(Dictionary<UUID, ulong> powers) { }
public ulong GetGroupPowers(UUID groupID)
{
return 0;