get a copy of current clientView group powers

LSLKeyTest
UbitUmarov 2016-07-26 16:54:04 +01:00
parent 3f0d84c28b
commit e766f9d20f
5 changed files with 25 additions and 0 deletions

View File

@ -733,6 +733,8 @@ namespace OpenSim.Framework
ulong ActiveGroupPowers { get; }
Dictionary<UUID, ulong> GetGroupPowers();
ulong GetGroupPowers(UUID groupID);
bool IsGroupMember(UUID GroupID);

View File

@ -5782,6 +5782,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(packet, ThrottleOutPacketType.Task);
}
public Dictionary<UUID, ulong> GetGroupPowers()
{
lock(m_groupPowers)
{
return new Dictionary<UUID, ulong>(m_groupPowers);
}
}
public ulong GetGroupPowers(UUID groupID)
{
if (groupID == ActiveGroupId)

View File

@ -582,6 +582,11 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
get { return 0; }
}
public Dictionary<UUID, ulong> GetGroupPowers()
{
return new Dictionary<UUID, ulong>();
}
public ulong GetGroupPowers(UUID groupID)
{
return 0;

View File

@ -603,6 +603,11 @@ namespace OpenSim.Region.OptionalModules.World.NPC
return (m_hostGroupID == groupID);
}
public Dictionary<UUID, ulong> GetGroupPowers()
{
return new Dictionary<UUID, ulong>();
}
public ulong GetGroupPowers(UUID groupID)
{
return 0;

View File

@ -421,6 +421,11 @@ namespace OpenSim.Tests.Common
return false;
}
public Dictionary<UUID, ulong> GetGroupPowers()
{
return new Dictionary<UUID, ulong>();
}
public ulong GetGroupPowers(UUID groupID)
{
return 0;