aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorDr Scofield2009-03-26 12:08:18 +0000
committerDr Scofield2009-03-26 12:08:18 +0000
commitc8aaf538e4b1233e0553eedcd459637be2c078a8 (patch)
treed6a2101f8e453c8d0ad08583518bcdb9070004a7 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parent* Minor fixes, inverted an if for readability and introduced a virtual pre-pr... (diff)
downloadopensim-SC-c8aaf538e4b1233e0553eedcd459637be2c078a8.zip
opensim-SC-c8aaf538e4b1233e0553eedcd459637be2c078a8.tar.gz
opensim-SC-c8aaf538e4b1233e0553eedcd459637be2c078a8.tar.bz2
opensim-SC-c8aaf538e4b1233e0553eedcd459637be2c078a8.tar.xz
- adding osGetAgents() which returns a list of all avatars in the region
in which the script is running. - found a bag of space characters under my desk, thought i'd donate them to the JSON OSSL function (aka clean up)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index a50b6f2..fa45836 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -175,6 +175,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
175 return m_OSSL_Functions.osGetAgentIP(agent); 175 return m_OSSL_Functions.osGetAgentIP(agent);
176 } 176 }
177 177
178 public LSL_List osGetAgents()
179 {
180 return m_OSSL_Functions.osGetAgents();
181 }
182
178 // Animation Functions 183 // Animation Functions
179 184
180 public void osAvatarPlayAnimation(string avatar, string animation) 185 public void osAvatarPlayAnimation(string avatar, string animation)