From 06e0e513cf194d97d576c111e5c481cc769bba1f Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 25 Jul 2008 03:45:17 +0000 Subject: Add GetGroupPowers() and a dictionary to hold them to ClientView and IClientAPI. No user functionality --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index a7dd35a..0c420b4 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -115,6 +115,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP protected LLUUID m_activeGroupID = LLUUID.Zero; protected string m_activeGroupName = String.Empty; protected ulong m_activeGroupPowers = 0; + protected Dictionary m_groupPowers = new Dictionary(); /* Instantiated Designated Event Delegates */ //- used so we don't create new objects for each incoming packet and then toss it out later */ @@ -292,6 +293,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP get { return m_activeGroupPowers; } } + public ulong GetGroupPowers(LLUUID groupID) + { + if(m_groupPowers.ContainsKey(groupID)) + return m_groupPowers[groupID]; + return 0; + } + /// /// This is a utility method used by single states to not duplicate kicks and blue card of death messages. /// -- cgit v1.1