aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
diff options
context:
space:
mode:
authorThomas Grimshaw2010-04-07 23:53:08 +0200
committerThomas Grimshaw2010-04-07 23:53:08 +0200
commitd834a2c3da1aa97887e087e5a265e73a914c5f7b (patch)
tree927f3a86501a09abfa1baf783cb85e072f1e332a /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
parentIncrease the amount of time we wait for a teleport to complete. This allows t... (diff)
downloadopensim-SC-d834a2c3da1aa97887e087e5a265e73a914c5f7b.zip
opensim-SC-d834a2c3da1aa97887e087e5a265e73a914c5f7b.tar.gz
opensim-SC-d834a2c3da1aa97887e087e5a265e73a914c5f7b.tar.bz2
opensim-SC-d834a2c3da1aa97887e087e5a265e73a914c5f7b.tar.xz
Implement cmGetAvatarList(). This returns a strided list of all avatars in the region, including their UUID, position and name. The radar is often the most taxing scripts on a sim, this function can help radars reduce their impact by 66% by eliminating the need for sensors.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
index 5bc3a88..aaffbe4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
@@ -66,11 +66,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
66 public int cmSetWindlightScene(LSL_List rules) 66 public int cmSetWindlightScene(LSL_List rules)
67 { 67 {
68 return m_CM_Functions.cmSetWindlightScene(rules); 68 return m_CM_Functions.cmSetWindlightScene(rules);
69 } 69 }
70 70
71 public int cmSetWindlightSceneTargeted(LSL_List rules, key target) 71 public int cmSetWindlightSceneTargeted(LSL_List rules, key target)
72 { 72 {
73 return m_CM_Functions.cmSetWindlightSceneTargeted(rules, target); 73 return m_CM_Functions.cmSetWindlightSceneTargeted(rules, target);
74 }
75 public LSL_List cmGetAvatarList()
76 {
77 return m_CM_Functions.cmGetAvatarList();
74 } 78 }
75 } 79 }
76} 80}