aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorTalun2012-05-08 15:52:25 +0100
committerJustin Clark-Casey (justincc)2012-05-09 00:14:24 +0100
commit61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4 (patch)
treed1d863334169d2b229fdf8ef372787570c24b711 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentRemove physics actor related race conditions in SetVehicleFlags() and SetPhys... (diff)
downloadopensim-SC_OLD-61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4.zip
opensim-SC_OLD-61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4.tar.gz
opensim-SC_OLD-61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4.tar.bz2
opensim-SC_OLD-61e99bcdcba5480aa8a2a8b8e2f2b0a66c08e6b4.tar.xz
Mantis 6015 new LSL function llGetAgentList.
Details in the lsl wiki
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs5
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs5
2 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index 2a28542..b6c21e6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -501,6 +501,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
501 public const int OBJECT_STREAMING_COST = 15; 501 public const int OBJECT_STREAMING_COST = 15;
502 public const int OBJECT_PHYSICS_COST = 16; 502 public const int OBJECT_PHYSICS_COST = 16;
503 503
504 // for llGetAgentList
505 public const int AGENT_LIST_PARCEL = 1;
506 public const int AGENT_LIST_PARCEL_OWNER = 2;
507 public const int AGENT_LIST_REGION = 4;
508
504 // Can not be public const? 509 // Can not be public const?
505 public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); 510 public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
506 public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); 511 public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index 80fa530..c0bf29c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -389,6 +389,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
389 return m_LSL_Functions.llGetAgentLanguage(id); 389 return m_LSL_Functions.llGetAgentLanguage(id);
390 } 390 }
391 391
392 public LSL_List llGetAgentList(LSL_Integer scope, LSL_List options)
393 {
394 return m_LSL_Functions.llGetAgentList(scope, options);
395 }
396
392 public LSL_Vector llGetAgentSize(string id) 397 public LSL_Vector llGetAgentSize(string id)
393 { 398 {
394 return m_LSL_Functions.llGetAgentSize(id); 399 return m_LSL_Functions.llGetAgentSize(id);