diff options
author | Talun | 2012-05-08 15:52:25 +0100 |
---|---|---|
committer | Melanie | 2012-05-11 02:25:52 +0100 |
commit | e6181941432640e4bc7c46fb740c04d04d94032e (patch) | |
tree | d775ab5527af9f1e809a4d1f583668a4576951e1 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | reduce avatars terminal velocity to less than 30m/s or colisions with basic b... (diff) | |
download | opensim-SC-e6181941432640e4bc7c46fb740c04d04d94032e.zip opensim-SC-e6181941432640e4bc7c46fb740c04d04d94032e.tar.gz opensim-SC-e6181941432640e4bc7c46fb740c04d04d94032e.tar.bz2 opensim-SC-e6181941432640e4bc7c46fb740c04d04d94032e.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.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 |
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 6246b57..278f74e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -500,6 +500,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
500 | public const int OBJECT_STREAMING_COST = 15; | 500 | public const int OBJECT_STREAMING_COST = 15; |
501 | public const int OBJECT_PHYSICS_COST = 16; | 501 | public const int OBJECT_PHYSICS_COST = 16; |
502 | 502 | ||
503 | // for llGetAgentList | ||
504 | public const int AGENT_LIST_PARCEL = 1; | ||
505 | public const int AGENT_LIST_PARCEL_OWNER = 2; | ||
506 | public const int AGENT_LIST_REGION = 4; | ||
507 | |||
503 | // Can not be public const? | 508 | // Can not be public const? |
504 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 509 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
505 | public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); | 510 | 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 70c5fcd..9ba9561 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -391,6 +391,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
391 | return m_LSL_Functions.llGetAgentLanguage(id); | 391 | return m_LSL_Functions.llGetAgentLanguage(id); |
392 | } | 392 | } |
393 | 393 | ||
394 | public LSL_List llGetAgentList(LSL_Integer scope, LSL_List options) | ||
395 | { | ||
396 | return m_LSL_Functions.llGetAgentList(scope, options); | ||
397 | } | ||
398 | |||
394 | public LSL_Vector llGetAgentSize(string id) | 399 | public LSL_Vector llGetAgentSize(string id) |
395 | { | 400 | { |
396 | return m_LSL_Functions.llGetAgentSize(id); | 401 | return m_LSL_Functions.llGetAgentSize(id); |