aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-25 03:45:17 +0000
committerMelanie Thielker2008-07-25 03:45:17 +0000
commit06e0e513cf194d97d576c111e5c481cc769bba1f (patch)
tree6cdb0ff7f86bc71a8d18847c64bde2547f70aed8 /OpenSim/Region/ClientStack/LindenUDP
parent*Fixes #0001818: typecast string to float (diff)
downloadopensim-SC_OLD-06e0e513cf194d97d576c111e5c481cc769bba1f.zip
opensim-SC_OLD-06e0e513cf194d97d576c111e5c481cc769bba1f.tar.gz
opensim-SC_OLD-06e0e513cf194d97d576c111e5c481cc769bba1f.tar.bz2
opensim-SC_OLD-06e0e513cf194d97d576c111e5c481cc769bba1f.tar.xz
Add GetGroupPowers() and a dictionary to hold them to ClientView and
IClientAPI. No user functionality
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs8
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>