diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/ClientManager.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index 39d8d99..a55e27c 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs | |||
@@ -158,6 +158,17 @@ namespace OpenSim.Framework | |||
158 | return circuits.ToArray(); | 158 | return circuits.ToArray(); |
159 | } | 159 | } |
160 | 160 | ||
161 | public List<uint> GetAllCircuitCodes() | ||
162 | { | ||
163 | List<uint> circuits; | ||
164 | |||
165 | lock (m_clients) | ||
166 | { | ||
167 | circuits = new List<uint>(m_clients.Keys); | ||
168 | } | ||
169 | |||
170 | return circuits; | ||
171 | } | ||
161 | 172 | ||
162 | public void ViewerEffectHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock) | 173 | public void ViewerEffectHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock) |
163 | { | 174 | { |