diff options
author | UbitUmarov | 2016-07-12 23:23:47 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-12 23:23:47 +0100 |
commit | abf423e361fa907f668b6ff7801d706629ce6e81 (patch) | |
tree | 2950100d274f5aa30e9017ef72630b5816f2e977 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | reduce some locks on culling checks (diff) | |
download | opensim-SC-abf423e361fa907f668b6ff7801d706629ce6e81.zip opensim-SC-abf423e361fa907f668b6ff7801d706629ce6e81.tar.gz opensim-SC-abf423e361fa907f668b6ff7801d706629ce6e81.tar.bz2 opensim-SC-abf423e361fa907f668b6ff7801d706629ce6e81.tar.xz |
be nicer to PIs (actually linux)
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index cf5705c..fac5547 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -5409,6 +5409,11 @@ Label_GroupsDone: | |||
5409 | m_clientManager.ForEachSync(action); | 5409 | m_clientManager.ForEachSync(action); |
5410 | } | 5410 | } |
5411 | 5411 | ||
5412 | public int GetNumberOfClients() | ||
5413 | { | ||
5414 | return m_clientManager.Count; | ||
5415 | } | ||
5416 | |||
5412 | public bool TryGetClient(UUID avatarID, out IClientAPI client) | 5417 | public bool TryGetClient(UUID avatarID, out IClientAPI client) |
5413 | { | 5418 | { |
5414 | return m_clientManager.TryGetValue(avatarID, out client); | 5419 | return m_clientManager.TryGetValue(avatarID, out client); |