let some group related data to have a public set

LSLKeyTest
UbitUmarov 2016-07-26 17:34:59 +01:00
parent e766f9d20f
commit 13ae6dff18
5 changed files with 14 additions and 6 deletions

View File

@ -727,11 +727,11 @@ namespace OpenSim.Framework
UUID SecureSessionId { get; } UUID SecureSessionId { get; }
UUID ActiveGroupId { get; } UUID ActiveGroupId { get; set; }
string ActiveGroupName { get; } string ActiveGroupName { get; set;}
ulong ActiveGroupPowers { get; } ulong ActiveGroupPowers { get; set;}
Dictionary<UUID, ulong> GetGroupPowers(); Dictionary<UUID, ulong> GetGroupPowers();

View File

@ -421,9 +421,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
public UUID AgentId { get { return m_agentId; } } public UUID AgentId { get { return m_agentId; } }
public ISceneAgent SceneAgent { get; set; } public ISceneAgent SceneAgent { get; set; }
public UUID ActiveGroupId { get { return m_activeGroupID; } private set { m_activeGroupID = value; } } public UUID ActiveGroupId { get { return m_activeGroupID; } set { m_activeGroupID = value; } }
public string ActiveGroupName { get { return m_activeGroupName; } private set { m_activeGroupName = value; } } public string ActiveGroupName { get { return m_activeGroupName; } set { m_activeGroupName = value; } }
public ulong ActiveGroupPowers { get { return m_activeGroupPowers; } private set { m_activeGroupPowers = value; } } public ulong ActiveGroupPowers { get { return m_activeGroupPowers; } set { m_activeGroupPowers = value; } }
public bool IsGroupMember(UUID groupID) { return m_groupPowers.ContainsKey(groupID); } public bool IsGroupMember(UUID groupID) { return m_groupPowers.ContainsKey(groupID); }
public int PingTimeMS public int PingTimeMS

View File

@ -570,16 +570,19 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
public UUID ActiveGroupId public UUID ActiveGroupId
{ {
get { return UUID.Zero; } get { return UUID.Zero; }
set {}
} }
public string ActiveGroupName public string ActiveGroupName
{ {
get { return "IRCd User"; } get { return "IRCd User"; }
set {}
} }
public ulong ActiveGroupPowers public ulong ActiveGroupPowers
{ {
get { return 0; } get { return 0; }
set {}
} }
public Dictionary<UUID, ulong> GetGroupPowers() public Dictionary<UUID, ulong> GetGroupPowers()

View File

@ -591,11 +591,13 @@ namespace OpenSim.Region.OptionalModules.World.NPC
public string ActiveGroupName public string ActiveGroupName
{ {
get { return String.Empty; } get { return String.Empty; }
set { }
} }
public ulong ActiveGroupPowers public ulong ActiveGroupPowers
{ {
get { return 0; } get { return 0; }
set { }
} }
public bool IsGroupMember(UUID groupID) public bool IsGroupMember(UUID groupID)

View File

@ -404,16 +404,19 @@ namespace OpenSim.Tests.Common
public UUID ActiveGroupId public UUID ActiveGroupId
{ {
get { return UUID.Zero; } get { return UUID.Zero; }
set { }
} }
public string ActiveGroupName public string ActiveGroupName
{ {
get { return String.Empty; } get { return String.Empty; }
set { }
} }
public ulong ActiveGroupPowers public ulong ActiveGroupPowers
{ {
get { return 0; } get { return 0; }
set { }
} }
public bool IsGroupMember(UUID groupID) public bool IsGroupMember(UUID groupID)