diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
115 | protected LLUUID m_activeGroupID = LLUUID.Zero; | 115 | protected LLUUID m_activeGroupID = LLUUID.Zero; |
116 | protected string m_activeGroupName = String.Empty; | 116 | protected string m_activeGroupName = String.Empty; |
117 | protected ulong m_activeGroupPowers = 0; | 117 | protected ulong m_activeGroupPowers = 0; |
118 | protected Dictionary<LLUUID,ulong> m_groupPowers = new Dictionary<LLUUID, ulong>(); | ||
118 | 119 | ||
119 | /* Instantiated Designated Event Delegates */ | 120 | /* Instantiated Designated Event Delegates */ |
120 | //- used so we don't create new objects for each incoming packet and then toss it out later */ | 121 | //- 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 | |||
292 | get { return m_activeGroupPowers; } | 293 | get { return m_activeGroupPowers; } |
293 | } | 294 | } |
294 | 295 | ||
296 | public ulong GetGroupPowers(LLUUID groupID) | ||
297 | { | ||
298 | if(m_groupPowers.ContainsKey(groupID)) | ||
299 | return m_groupPowers[groupID]; | ||
300 | return 0; | ||
301 | } | ||
302 | |||
295 | /// <summary> | 303 | /// <summary> |
296 | /// This is a utility method used by single states to not duplicate kicks and blue card of death messages. | 304 | /// This is a utility method used by single states to not duplicate kicks and blue card of death messages. |
297 | /// </summary> | 305 | /// </summary> |